I want to know about {applets,applications} but the lousy book I got just talks about {applications,applets}. What can I do?
The truth is that 95% of the material is the same, whichever your book chooses to focus on. Some people write their apps to work completely in a Panel, then depending on whether they’re running stand-alone or in a browser the Panel is either added to a Frame or an Applet. The trick is that you need to add a listener to the application’s Frame to handle the WINDOW_CLOSING (previously WINDOW_DESTROY) event yourself. If you fail to do this, when running as an application, the window won’t close.