Class ErrorBox

public class ErrorBox
extends Dialog
Whenever the user performs an illegal action such as entering a task pattern that contains letters other then A or B then an instance of this object is created. The ErrorBox object is a Dialog Box which displays a message showing what the user has done worng.


o errorLabel
    private Label errorLabel

        A Label object that shows the error message

o ok
    private button ok

        A button that closes the Dialog box


o ErrorBox
    public Edge(Frame f, String title, String message)

        Takes the three parameters passed in and creates a new Dialog box within the Frame f showing the error message.

Send all bug reports and comments to