Write an applet to demonstrate drawOval() and fillOval() method

0
749
Want create site? Find Free WordPress Themes and plugins.
 /*Write an applet to demonstrate drawOval() and fillOval() method.*/
import java.awt.*;
import java.applet.*;
/*
<applet code="A class" width=400 height=450></applet>
*/
public class A extends Applet
{
public void paint(Graphics g)
{    
g.setColor(Color.yellow);
g.fillOval(10,10,100,100);
g.setColor(Color.red);
g.drawOval(160,150,100,100);
}
}
Did you find apk for android? You can find new Free Android Games and apps.

LEAVE A REPLY