GUI Interlude 2: Instructor's Notes

This lab relates to the GUI materials which are presented in chapters 4, and 5 from the book Java: An Introduction to Programming. It is imperative that the students read this material before attempting the lab. To encourage this, the answers to the first 3 prelab questions can be found within those chapters.

The source files that we will be using today are and the ann package.

As with the previous GUI lab, the students will be presented with a working text based program and will convert it to a program that uses a GUI. The code uses a for loop and if statements in its solution. This material is in chapter 5 of Java: An Introduction to Programming. The lab also uses the class StringTokenizer in to determine how to break up words in its input. You may wish to review some or all of this material before the students start the lab.

Back to This Lab's Table of Contents

Forward to the Prelab Questions


Back to the Table of Contents

Back to the Introduction

Copyright 2000 by Prentice Hall. All rights reserved.