0 Replies Latest reply: Jul 23, 2010 1:42 AM by 807567 RSS

    Applet

    807567
      how to run sample applet in an applet viewer
      import java.awt.*;
      import java.applet.*;

      /*

      <applet code = "MyApplet" width = 200 height = 60>
      </applet>

      */

      public class AppletSkel extends Applet{

      //called first.

      public void init(){

      //initialization

      }

      public void start(){
      }

      public void stop(){}

      public void destroy(){}

      public void paint(Graphics g){}

      }