Lab 8: Class/Static Variables
CS 141: Introduction to Programming , Fall 2017


This lab is due Monday, Nov 6, by the end of the lab.

Chapter 8 contains a number of important concepts about classes and objects which can be confusing such as static variables & methods and deep copying. 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: Card 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.

Deliverables

To receive full credit, you need to:

  1. Make sure that your Java code:

  2. Demonstrate both Card programs (i.e. Parts 1 and Part 2) to the instructor or lab assistant during the lab on the due date.

  3. Submit only the code for Part 2 to Wise as attachments to Lab 8: