Following is a Simple applet program inn java.
import java.awt.*;
import java.applet.*;
public class app2 extends Applet
{
public void paint(Graphics g)
{
g.drawString("MY FIRST APPLET",30,30);
}
}
import java.awt.*;
import java.applet.*;
public class app2 extends Applet
{
public void paint(Graphics g)
{
g.drawString("MY FIRST APPLET",30,30);
}
}
No comments:
Post a Comment