InfoMessage( msg, icon );
String msg |
The message to display. |
Icon icon |
The icon to show next to the message. Can be set to null.
|
InfoMessage Object
METHOD |
DESCRIPTION |
void start() |
Displays the message box. |
void stop() |
Hides/exits the message box. |
Displays a message (with or without an icon) in a rectangluar
box that has a white background and a thick red border. The
message box will not display until start() has been called; and
will remain on the screen until stop() has been called. Can
be used to display important messages to the user. For example,
if a task may take some time to complete, a message to that
effect can be displayed until the task finishes.
Example:
msg = new InfoMessage( "Performing task, please wait ... ", null );
msg.start();
... do some task here ...
msg.stop();