Fifth International World Wide Web Conference
GUI Interfaces
- Consider converting the Mortgage program into an applet
- Instead of communicating to the user via the standard input and output
files (System.in and System.out), use GUI features
- Label
- to make annotations in the window
- TextField
- to permit the user to input text
- Button
- a push-button to cause an action
- TextArea
- similar to TextField, but
- may contain a large amount of text
- permits viewing with scroll bars
- Program waits for the user to enter data into the fields and signal via the
push button that fields have been filled in
Java - An Introductory Language Tutorial
(E.A.Johnson)