Drawing Circles...
hi everyone,
I have been working on the question below:
(Write an applet that draws six concentric circles spaced 12 pixels apart.
I did the code but its only displaying one circle, its not displaying the rest,,,,i'd like to know why.
import java.awt.*;
import java.applet.*;
publicclass concentricCircleextends Applet{
int h ;
int w ;
publicvoid paint(Graphics g){
for(int i=0;i<=6;i++)
{
h=12;
w= 12;
g.drawOval(h,w,100,100);
}
}
}
thanks

