An Applet is a java program that can be embedded into HTML pages. It runs on the java enabled browsers. Applet can't access system resources on the local computer.
Swing provides a special subclass of the Applet class called javax.swing.JApplet. The JApplet class should be used for all applets that use Swing components to construct their
graphical user interfaces (GUIs). The browser's Java Plug-in software manages the lifecycle of an applet. |