LAB 3 – USING CLASSES AND OBJECTS

(Due before class on October 4, 2006) The following assignment is intended to enhance your understanding of the basics of Java programming and to introduce you to the use of classes and objects. Be sure to review Java Language Guidelines before you start on this assignment. [Post the solution in WebCT by 9:00 a.m. Wednesday, Oct. 4, 2006.]

YOU MUST DO YOUR OWN WORK!!!


Your task is to write a program that displays a frame containing two panels. Each panel should contain two images (use four unique images—your choice [be creative]). Fix the size of the first panel so that both of its images remain side by side. Allow the other panel to change size as needed. Experiment with the size of the window to see the images change orientation. Make sure you understand why the application behaves as it does.

Be sure to properly document your program.