I have to detach an applet from a browser, and need a few listeners and Document objects to stay intact between detaching and attaching. Could somebody please point me to a how to or a comprehensible code sample? Thanks in advance. Max
Detatching is not really possible.. In the Applet you could create a new JFrame, this will be shown as a normal JFrame (not in the browser).. on this JFrame you can do all the things you can do on a normal frame... Closing the browser window will also close the frame... Good luck!
You can detach it. It's not hard. Here is how I did it: First, my main applet code/display is actually in a JPanel. This makes it easy to run it as an app, an applet, or a popped out applet. Here is the code that does the poppin in and out. mainPanel is the main JPanel.