Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.*;
- import java.applet.*;
- public class demo extends Applet
- {
- public void paint(Graphics g)
- {
- g.fillOval(200,200,300,300);
- g.setColor(Color.blue);
- g.drawRect(300,210,80,90);
- g.drawRect(380,300,80,80);
- g.drawRect(300,300,80,80);
- g.drawRect(220,300,80,80);
- g.drawRect(300,380,80,110);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement