import java.awt.*;
import java.applet.*;

public class TesteApplet1 extends Applet
{

   public void paint (Graphics g)
   {
      Font fonte = new Font( "System", Font.BOLD, 18 );
      g.setFont( fonte );
      g.drawString( "Testando o Applet", 25, 50 );

      g.drawRect( 10, 10, 20, 20 );
      g.drawLine( 10, 10, 40, 40 );
      g.drawArc( 10, 10, 40, 30, 0, 360 );
   }
}