This discussion is archived
0 Replies Latest reply: Jul 22, 2010 11:42 PM by 807567 RSS

Applet

807567 Newbie
Currently Being Moderated
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){}

}