Wednesday, January 21, 2015

Create an Applet in java pgm



Create an Applet

import java.applet.*;
import java.awt.*;
public class Main extends Applet
{
   public void paint(Graphics g)
   {
      g.drawString("Welcome in Java Applet.",40,20);
   }
}

No comments:

Post a Comment