Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.*;
- import java.applet.*;
- public class smileyface extends Applet
- {
- public void paint(Graphics g)
- {
- int i,j;
- for(i=500,j=50;i>=50;i-=50,j+=25)
- g.drawOval(j,j,i,i);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement