|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectSimpleOutput
public class SimpleOutput
Class to make it easy to do output to the user using JOptionPane Copyright Georgia Institute of Technology 2004
| Constructor Summary | |
|---|---|
SimpleOutput()
|
|
| Method Summary | |
|---|---|
static String |
addNewLines(String message)
Method to add new line character if the message is too long |
static void |
showError(String message)
Method to show an error to a user |
static void |
showInformation(String message)
Method to show information to the user |
static void |
showWarning(String message)
Method to show a warning to a user |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleOutput()
| Method Detail |
|---|
public static void showWarning(String message)
message - the message to displaypublic static void showError(String message)
message - the message to displaypublic static void showInformation(String message)
message - the message to displaypublic static String addNewLines(String message)
message - the input message
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||