| showMessageDialog |
(Object comp, String message [, String title [, Object type]]) |
yoix.swing |
| |
Pops up a modal dialog that displays
message
and is positioned over
comp,
which should be an AWT or Swing component, or centered on your screen when
comp
is
NULL.
The optional
title
argument is used as the dialog's title when it is not
NULL.
The optional
type
argument should be
ERROR_MESSAGE,
INFORMATION_MESSAGE
(the default),
PLAIN_MESSAGE,
QUESTION_MESSAGE,
or
WARNING_MESSAGE,
which are integers that are defined in
yoix.swing,
or an
Image
that is displayed in the dialog instead of the default icon that is
selected when
type
is an
int.
|
Yoix is a registered trademark of AT&T Inc.
|