I have a program with a combo box, when i choose an item from the combo my program must go to a certain class and invoke a method in it , how can i do that?..how can i invoke this method in that certain class?
Ai no corrida..That's where I am<br />You send me there<br />Your dream is my command...
Not got the problem. please explain briefly. what type of application you are creating? is it web applicatoin with jsp or servlet? what type of method you want to call. You can call any method just by creating the object of that class.
Joined: Mar 24, 2004
No, it's an application that deals with Barcodes.. I have to make for each standard a jar file that contains the classes necessary for encoding/decoding related to that standrd.An obligatory class (that must exist in every valid jar file) is a class derived JPanel.. I want to load this class from a certain jar file when the user chooses a standard (that's related to that jar file) from a ComboBox, and then I want to make an instance of that class (which extends JPanel) and add this panel to my frame..