/** This is a simple test main to show how the Frame class for hw3 is supposed to be used. */ import java.util.*; class Main { static final Scanner console = new Scanner(System.in); public static void main(String[] args) { Frame frame = new Frame(78, 25); Rectangle r = new Rectangle(3,2,10,20); frame.add(r); frame.add(new Line(2,2,70,20)); frame.show(); System.out.println("Hit return to continue."); console.nextLine(); frame.remove(r); frame.add(new Rectangle(30,10,5,6)); frame.show(); } }