// box loop with for import it.*; import java.awt.*; public class BoxLoop1A { public static void main (String[]args) { Gogga.setGridSize(20,20); Gogga widget = new Gogga(8,8,1,Color.green); for (int i = 0; i < 4; i++) { widget.move(); widget.move(); widget.move(); widget.move(); widget.turnRight(); } // end for } // end main } // end class