Lab 6 from Java 2. Practice with GUIs.