Draw Oval in java applet

Hello Friends, 

Today I will explain how can we draw Oval in java applet.
In this  program I have print simple Oval but you can draw different shapes with different size.
   import java.applet.*;
import java.awt.*;
import java.awt.event.*;



public class oval extends Applet
public void paint(Graphics g)
g.drawString("This is circle & oval.",40,90);

Leave a Reply