I just have curious question, are you able to make an applet, place that online and have the applet open new windows? example

Main menu - applet
[Open calculator] - button in main menu (action: open a new JFrame)
[Open temp converter] - button in main menu (action: open a new JFrame)

Assuming that the JFrame class files are located where the applet class files are and the applet program is the main program running in the browser, the JFrames open as a separate window not browser window. Can this be done?

01-26-2011, 08:57 PM

pbrockway2

The best way of answering questions like this is to try it and see. It's as simple as putting "new JFrame().setVisible(true);" in the applet's start() method and seeing what happens.

01-27-2011, 01:07 AM

rdjava

Quote:

Originally Posted by pbrockway2

The best way of answering questions like this is to try it and see. It's as simple as putting "new JFrame().setVisible(true);" in the applet's start() method and seeing what happens.

Ok. Ya i was just thinking about that but i wanted a second opinion, I dont see why it wont work.