// draw a pink rectangle 4x3

gr.setColor( Color.PINK );

// x, y, width, height
gr.fillRect( 0, 0, 4, 3 );