execute a method which belong to jar file (a.jar) from another jar file (b.jar)
Posted on 2005-04-11
hi, i have a .jar file with a GUI (for example : ControlPanel.jar). i want to execute some other .jar files and some of their methods in ControlPanel.jar file.
for example : there is a icon on the ControlPanel.jar program's GUI. start a jar file (for example : game.jar) when i click the icon. after that there is a buton on ControlPanel.jar program's GUI, and when i clicked that buton, a method which is belong to a class of game.jar file have to execute.
and i sholud be able to control different .jar files from ControlPanel.jar file. i mean i should be able to add and remove .jar files from ControlPanel.jar.
how can i do that ?