Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void paint(Graphics g){
- g.setColor(Color. blue);
- int counter2 = 0;
- for(int counter = 10; counter > 0; counter = counter - 1){
- g.fillRect(counter2 * 30, counter * 20 ,30,20);
- counter2++;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement