Converting between applets and applications To convert an Application to Applet:  - Create an HTML page with an applet tag to invoke the applet. 
 - Delete the main method. 
 - Alter the class header so that it extends Applet rather than Frame. 
 - Add the import for the library class Applet. 
 - Change the name of the constructor method from the name of the class to init. 
 - Add an invocation of a method to set the layout of widgets in the applet window.
 
 This is typically: setLayout(new BorderLayout()); 
  
 
  |