
Each part is to be turned in for credit. Last 2 parts due Final Exam time.
Screen could look like this:
Another way of implementing the error messages is to use a message box.
The Java code for creating the MsgDailog class is from Chapter 10 in the text.
You need to use the following statement to import the class after you have compiled it:
import MsgDialog.*;
This Java program example uses a Frame for display and is not fixed to this page. Look for Java Applet Viewer with title: "Message Box Demo".