Lab 7: More on Classes
CS 141: Introduction to Programming , Fall 2015


This lab is due Monday, Oct 26, by the end of the lab,

Chapter 6 contains a number of important concepts about classes and objects which can be confusing such as method overloading, static variables and methods, methods for comparing objects, deep copying, etc. In this lab, you will have the opportunity to practice some of these concepts.

You will also have more practice building Graphical User Interfaces (GUIs) in Netbeans.

Part 1: Month Class

Part 2: Building a GUI

Creating a GUI: The purpose of this part of the lab is to introduce you to several more GUI components: TextAreas, ScrollPanes, and ComboBoxes.

If you want to do something a little different than what is below, please do. The main requirement is that you have a GUI which makes use of a separate class which you wrote (below, we use the Month class) and that the GUI includes a ComboBox and a ScollPane/TextArea. If you do decide to do something different, please run it by the instructor first to make sure it is feasible.

Deliverables

To receive full credit, you need to:

  1. Make sure that your Java code:

  2. Demonstrate your Month program (Part 1), for example, by running the main method above, to the instructor or lab assistant during the lab on the due date. . Also demo your gui (Part 2).

  3. Submit the following to Wise as attachments to Lab 7