Lab 8: Class/Static Variables
CS 141: Introduction to Programming , Spring 2018


This lab is due Friday, Mar 23, 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: JTextAreas, JScrollPanes, and JComboBoxes.

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: