Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.javatools.dialogs
Class MessageUtil

java.lang.Object
  extended by oracle.javatools.dialogs.MessageUtil

public final class MessageUtil
extends java.lang.Object

Class of utility methods supporting the use of standardized alerts, as encouraged by MessageDialog.


Method Summary
static java.awt.Component createOptionalMessage(java.lang.Object message, javax.swing.JCheckBox box)
          Creates an optional message component suitable for use in an alert dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createOptionalMessage

public static final java.awt.Component createOptionalMessage(java.lang.Object message,
                                                             javax.swing.JCheckBox box)
Creates an optional message component suitable for use in an alert dialog.

Parameters:
message - the message object, a Component or String.
box - a checkbox controlling optional dialog visibility, whose text and mnemonic properties will be initialized.
Returns:
the layed out component.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.