// Purpose: Create two windows containing colored rectangles.	
import java.io.*;	
	
public class BoxFun {	
	// main(): application entry point	
	public static void main(String[] args) throws IOException {	
		ColoredRectangle r1 = new ColoredRectangle();	
		ColoredRectangle r2 = new ColoredRectangle();	
	
		System.out.println("Enter when ready");	
		System.in.read();	
	
		r1.paint();  // draw the window associated with r1	
		r2.paint();  // draw the window associated with r2	
	}	
}	

