import java.awt.*; import java.awt.event.*; import java.applet.*; public class Blok extends Applet { public void paint( Graphics g ) { g.fillRect( 10, 10, 15, 10 ); g.fillRect( 30, 10, 15, 10 ); g.fillRect( 50, 10, 15, 10 ); g.fillRect( 70, 10, 15, 10 ); g.fillRect( 90, 10, 15, 10 ); g.fillRect( 110, 10, 15, 10 ); } }