Howdy -- think of an applet as just a GUI panel (or JPanel, if it's a Swing applet).
In a nutshell, YOU have to 'be the browser' (or applet viewer) and take care of the two things that the browser/applet viewer does for the applet:
1) Providing the "Frame" background for the GUI
-- so now YOU need to, say, make a JFrame/Frame and then slap the applet into it as you would any other GUI component (by 'adding' the applet to the Frame, or for JFrame -- adding the applet to the contentPane of the JFrame)
2) Invoke the init() and start() methods of the applet, by calling those methods.
So you would, for example, create an application that was a basic GUI app, where in main() you invoke a method that builds the GUI, and in the process of building that GUI, you instantiate the applet (make a new instance of the applet class itself) and then ADD the applet -- as a Panel/JPanel -- to the GUI, then invoke the init and start methods of the applet instance, and off it goes.
The GUI application you build to *run* the applet doesn't have to do much at all, since we assume that the real work is all inside the applet code. The app you build to support the applet can be as simple as a handful of lines of code that build the frame, instantiate the applet, and call the methods on the applet.
cheers,
Kathy
