How about a class for simple output?
I have created a class to make it easy for you to write programs that display information, warnings, and errors to the user.
Just download SimpleOutput.java and
SimpleOutput.class and put them in the bookClasses directory.
To display an information message using a pop-up window do:
SimpleOutput.showInformation("The sky is blue");
To display a warning message using a pop-up window do:
SimpleOutput.showWarning("Watch Out!");
To display an error message using a pop-up window do:
SimpleOutput.showError("That isn't a number!");
Link to this Page
- Questions last edited on 30 January 2006 at 1:29 pm by user-11216ng.dsl.mindspring.com