|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlbnl.util.WarningWindow
public class WarningWindow
Class to create a warning window in a new thread. Creating the warning window in a new thread allows to continue the simulation. If Ptolemy is run as a console application, this dialog will be destroyed when Ptolemy reaches the final time. However, if Ptolemy is run from vergil, then the dialog box remains diplayed until it is closed by the user.
Field Summary | |
---|---|
protected java.lang.String |
msg
The warning message. |
Constructor Summary | |
---|---|
WarningWindow(java.lang.String message)
Construct an instance and set the message to be displayed in the window. |
Method Summary | |
---|---|
void |
run()
Display the message dialog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String msg
Constructor Detail |
---|
public WarningWindow(java.lang.String message)
message
- The message to be displayed.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |