GUI Interlude 1: Prelab Questions

Print a copy of this page and referring to chapters 2 and 3 from Java: An Introduction to Programming, answer each of the questions on your copy. (You must turn in your answers at the beginning of your laboratory session.)

1. We can get an input from the user via a ____________ which is an example of a graphical object or _____________.

2. In order to use the JOptionPane, our program will import the package ___________.

3. The "look and feel" of an application is determined by ___________________ which is provided by the Java _____________ environment.

4. We can convert a String to a double by using the method ________________ in the class ___________.

5. A stand alone program that can be executed by a Java interpreter is called an ________________ and a small program that can be executed by a web browser is called an __________________.

Back to This Lab's Table of Contents

Forward to the Lab Exercise

Back to the Table of Contents

Back to the Introduction

Copyright 2000 by Prentice Hall. All rights reserved.