edu.byu.phun
Class Tell

java.lang.Object
  extended by edu.byu.phun.Tell

public class Tell
extends java.lang.Object

Contains a variety of methods for interactively presenting information to the user.


Constructor Summary
Tell()
           
 
Method Summary
static void error(java.lang.String errorMessage)
          Displays an error message to tell the user that something is wrong.
static void message(java.lang.String text)
          Displays an informational message to the user.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tell

public Tell()
Method Detail

error

public static void error(java.lang.String errorMessage)
Displays an error message to tell the user that something is wrong. This message will stay up and the program will not continue until the user clicks on the message.

Parameters:
errorMessage - The error message to be displayed.

message

public static void message(java.lang.String text)
Displays an informational message to the user. This message will stay up and the program will not continue until the user clicks on the message.

Parameters:
text - the message to be displayed.