java simple program on simple applet
program code
import java.awt.*;
import java.applet.*;
/*<applet code="Hellojava" width=300
height=50>
</applet>*/
public class Hellojava extends Applet
{
public void paint(Graphics g)
{
g.drawString("welcome to Applet",20,20);
}
}
No comments:
Post a Comment