prev next

Computer Science for Transfers
Lab 7 - An Introduction to Swing

Overview

The purpose of this lab is to give you some experience building simple graphical user interfaces (GUIs) using Swing.  This lab will focus on constructing GUIs and using layout managers to arrange the components contained within the GUI.

Pre-lab

  1. Review your class notes on Java Swing.
  2. Read through the Java tutorial trail on Laying Out Components Within a Container.

Objectives

  1. To learn some of the basic concepts used in Java Swing
  2. Gain experience in building simple GUIs
  3. Learn how to use basic Swing components
  4. See how layout managers can be used to arrange components within containers
  5. Learn how to prototype simple GUI applications

Activities

  1. Construct a data input screen.
  2. Build an electronic scramble pad.
  3. Use some basic Java dialogs.

Grading

In-lab participation 3 points
Activity 1 7 points
Activity 2 10 points
Activity 3 10 points
Total 30 points

prev next
Last modified July 24, 2003 by tmh.