Public Methods | |
| OutDialog (JFrame parent, int nrLinesOutput, int nrLinesError, int lineWidth) | |
| Constructor. More... | |
| OutputStreamArea | getOutputText () |
| Get the text output part. More... | |
| ErrorStreamArea | getErrorText () |
| Get the error text part. More... | |
Static Public Methods | |
| void | printOutput (String str) |
| Print the given message in the output text part. More... | |
| void | printlnOutput (String str) |
| Print the given message in the output text part and add a newline. More... | |
| void | printError (String str) |
| Print the given message in the error text part. More... | |
| void | printlnError (String str) |
| Print the given message in the error text part and add a newline. More... | |
Contains an OutputStreamArea and an ErrorStreamArea.
|
||||||||||||||||||||
|
00030 {
00031 super(parent, false); //not modal
00032 _parent = parent;
00033 doInit(nrLinesOutput, nrLinesError, lineWidth);
00034 }
|
|
|
Print the given message in the output text part.
00040 {
00041 _outputText.print(str);
00042 }
|
|
|
Print the given message in the output text part and add a newline.
00048 {
00049 _outputText.println(str);
00050 }
|
|
|
Print the given message in the error text part.
00056 {
00057 _errorText.print(str);
00058 }
|
|
|
Print the given message in the error text part and add a newline.
00064 {
00065 _errorText.println(str);
00066 }
|
|
|
Get the text output part.
00072 {
00073 return _outputText;
00074 }
|
|
|
Get the error text part.
00080 {
00081 return _errorText;
00082 }
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001