Assuming that Class2 is a inner class in the main class, pass an instance of class2 implementing the ActionListener.
IBM Certified SOA Associate
posted 12 years ago
Thanks for your reply. Actaully what i am doing i ve one internal frame in whihc i am using JSplitPane, so i am calling two different classes in that. So what i am trying to do that if i click class 1 button1 it also call the class 2 button 2 also. So that i update my JTable.