INFO-I211 Lab 4
Graphical User Interface

Due date: see Oncourse Modules or Assignments
50 points

Learning Objectives

  1. Be able to develop a simple GUI (graphical user interface) in Java.
  2. Use the if/else statement.
  3. Be familiar with some useful Unix commands.

Part A: GUI

Instructions

In Lab 3, you developed one of the following programs:

This program had a console-based, text user interface.

Modify the program (or a copy of the program) to give it a graphical user interface (GUI).

Your GUI must have these components:

You should be able to enter new data and have your program compute and display results for as many times as the first button is clicked, and quit when the second button is clicked.

Stage 1: GUI (One Working Button)

Prerequisite: Chapters 1–4, including GUI material.

Build the graphical user interface. It needs the components listed above.

Stage 2: GUI (Two Working Buttons)

Prerequisite: Sections 5.1–5.2 (if statement) and 5.7 (determining event sources).

Part B. Useful Unix Commands.

Read Unix Tutorial Six: Other Useful Unix Commands and try out the commands as suggested there, or in other ways.

What to Turn in

Turn in, as attachments in Oncourse Assignments:

Grading Criteria

The Coding Standards for chapters 1–6 apply to this assignment.