This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I have a drop down menu with the names of 6 programs. How do I get the applications to run from the menu. One of the applications is also an applet. I already have the menu and menu items created I just don't know the syntax to have the menu open the applications. Thank you for your time
For this purpose you will have to study input/output operation in java to open/load the save file. Do visit the following link where I/O operation are mentioned to read a file. But this will only open your file in text area not run your application. http://www.javaranch.com/ubb/Forum38/HTML/000723.html Hope someone else can help you betterly! Regard Rashid Ali
You may find the Runtime.exec() method worth looking at. For example, on a windows system, the following should launch the calculator from within a Java application: <code> Runtime.getRuntime().exec("calc.exe"); </code> Hope this helps Michael ------------------ "One good thing about music - when it hits, you feel no pain" Bob Marley
"One good thing about music - when it hits, you feel no pain" <P>Bob Marley