Hi all, I am learning to write an application in modularization , but problem orccered: I want to update the other JSplitPane's JTextField's text in one JSplitPane in referrence of the table's data, and the JSplitPane's child components are the extended JPanels. But how to get referrence of the JTextField in other non-static class? Thanks.
posted 13 years ago
This may be an oversimplification of what you are doing, but couldn't you just add an addText(String) method to the object that contains the text field you want to modify? Assuming, of course, that you have access to the instance of that object. Shane