One solution would be to give the edit window an instance of he other JPanel (You can accomplish that by passing the panel in to the constructor of the edit window) Then you can simply call the setUpTableData() method from inside the ActionListener The code to do this may look like the following: Edit frame constructor public EditFrame(CustomerListFrame cListFrame, ... other params) { this. CListFrame = cListFrame; } Update ActionListener public void actionPerforment(ActionEvent e) { cListFrame. SetUpTableData(the new data); }.
One solution would be to give the edit window an instance of he other JPanel. (You can accomplish that by passing the panel in to the constructor of the edit window) Then you can simply call the setUpTableData() method from inside the ActionListener. The code to do this may look like the following: Edit frame constructor public EditFrame(CustomerListFrame cListFrame, ... other params) { this.
CListFrame = cListFrame; } Update ActionListener public void actionPerforment(ActionEvent e) { cListFrame. SetUpTableData(the new data); }.
Thank You – user236501 May 26 '10 at 13:39 @newbie - my guess is that he means simply that when creating the other JPanel, this one should have a reference (given in parameter, for example) of the main panel, so that it would be able to call your method, from "there". – Gnoupi May 26 '10 at 13:40 So inside the constructor do I need to specify anything? – user236501 May 26 '10 at 13:40 1 new Edit(MainFrame.
This). GetJInternalFrame(). SetVisible(true) That will pass the current instance of MainFrame into the constructor for Edit.
– jjnguy May 26 '10 at 14:34 1 @newbie You are welcome.(An upvote for my trouble maybe? , please) – jjnguy May 26 '10 at 14:41.
Public void mouseClicked(java.awt.event. String colName = {"No." ,"Name", "Email","Contact No. Font Tablefont = new Font("DialogInput",Font.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.