Either the caption or the text may be null
, but an NullPointerException
is thrown if both are null
. When displayed, the caption or text strings may be truncated on some platforms; the number of characters that may be displayed is platform-dependent.
Note: Some platforms may not support showing a message.
@param caption the caption displayed above the text, usually inbold; may be null
@param text the text displayed for the particular message; may benull
@param messageType an enum indicating the message type
@throws NullPointerException if both caption
and text
are null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|