Save This Page
Home » openjdk-7 » java » awt » [javadoc | source]
java.awt
public class: Dialog [javadoc | source]
java.lang.Object
   java.awt.Component
      java.awt.Container
         java.awt.Window
            java.awt.Dialog

All Implemented Interfaces:
    Accessible, MenuContainer, Serializable, ImageObserver

A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user. The size of the dialog includes any area designated for the border. The dimensions of the border area can be obtained using the getInsets method, however, since these dimensions are platform-dependent, a valid insets value cannot be obtained until the dialog is made displayable by either calling pack or show. Since the border area is included in the overall size of the dialog, the border effectively obscures a portion of the dialog, constraining the area available for rendering and/or displaying subcomponents to the rectangle which has an upper-left corner location of (insets.left, insets.top), and has a size of width - (insets.left + insets.right) by height - (insets.top + insets.bottom).

The default layout for a dialog is BorderLayout.

A dialog may have its native decorations (i.e. Frame & Titlebar) turned off with setUndecorated. This can only be done while the dialog is not displayable .

A dialog may have another window as its owner when it's constructed. When the owner window of a visible dialog is minimized, the dialog will automatically be hidden from the user. When the owner window is subsequently restored, the dialog is made visible to the user again.

In a multi-screen environment, you can create a Dialog on a different screen device than its owner. See java.awt.Frame for more information.

A dialog can be either modeless (the default) or modal. A modal dialog is one which blocks input to some other top-level windows in the application, except for any windows created with the dialog as their owner. See AWT Modality specification for details.

Dialogs are capable of generating the following WindowEvents: WindowOpened, WindowClosing, WindowClosed, WindowActivated, WindowDeactivated, WindowGainedFocus, WindowLostFocus.

Nested Class Summary:
public static enum class  Dialog.ModalityType  Modal dialogs block all input to some top-level windows. Whether a particular window is blocked depends on dialog's type of modality; this is called the "scope of blocking". The ModalityType enum specifies modal types and their associated scopes. 
public static enum class  Dialog.ModalExclusionType  Any top-level window can be marked not to be blocked by modal dialogs. This is called "modal exclusion". This enum specifies the possible modal exclusion types. 
protected class  Dialog.AccessibleAWTDialog  This class implements accessibility support for the Dialog class. It provides an implementation of the Java Accessibility API appropriate to dialog user-interface elements. 
Field Summary
 boolean resizable    A dialog's resizable property. Will be true if the Dialog is to be resizable, otherwise it will be false. 
 boolean undecorated    This field indicates whether the dialog is undecorated. This property can only be changed while the dialog is not displayable. undecorated will be true if the dialog is undecorated, otherwise it will be false. 
public static final  ModalityType DEFAULT_MODALITY_TYPE    Default modality type for modal dialogs. The default modality type is APPLICATION_MODAL. Calling the oldstyle setModal(true) is equal to setModalityType(DEFAULT_MODALITY_TYPE). 
 boolean modal    True if this dialog is modal, false is the dialog is modeless. A modal dialog blocks user input to some application top-level windows. This field is kept only for backwards compatibility. Use the ModalityType enum instead. 
 ModalityType modalityType    Modality type of this dialog. If the dialog's modality type is not ModalityType.MODELESS , it blocks all user input to some application top-level windows. 
static transient  IdentityArrayList<Dialog> modalDialogs     
transient  IdentityArrayList<Window> blockedWindows     
 String title    Specifies the title of the Dialog. This field can be null. 
transient volatile  boolean isInHide     
transient volatile  boolean isInDispose     
Fields inherited from java.awt.Window:
warningString,  icons,  systemSyncLWRequests,  syncLWRequests,  beforeFirstShow,  OPENED,  state,  ownedWindowList,  showWithParent,  modalBlocker,  modalExclusionType,  windowListener,  windowStateListener,  windowFocusListener,  inputContext,  isInShow,  isTrayIconWindow,  anchor
Fields inherited from java.awt.Container:
layoutMgr,  containerListener,  listeningChildren,  listeningBoundsChildren,  descendantsCount,  preserveBackgroundColor,  INCLUDE_SELF,  SEARCH_HEAVYWEIGHTS,  modalComp,  modalAppContext
Fields inherited from java.awt.Component:
peer,  parent,  appContext,  x,  y,  width,  height,  foreground,  background,  font,  peerFont,  cursor,  locale,  bufferStrategy,  ignoreRepaint,  visible,  enabled,  dropTarget,  popups,  focusTraversalKeys,  LOCK,  minSize,  minSizeSet,  prefSize,  prefSizeSet,  maxSize,  maxSizeSet,  componentOrientation,  newEventsOnly,  componentListener,  focusListener,  hierarchyListener,  hierarchyBoundsListener,  keyListener,  mouseListener,  mouseMotionListener,  mouseWheelListener,  inputMethodListener,  windowClosingException,  actionListenerK,  adjustmentListenerK,  componentListenerK,  containerListenerK,  focusListenerK,  itemListenerK,  keyListenerK,  mouseListenerK,  mouseMotionListenerK,  mouseWheelListenerK,  textListenerK,  ownedWindowK,  windowListenerK,  inputMethodListenerK,  hierarchyListenerK,  hierarchyBoundsListenerK,  windowStateListenerK,  windowFocusListenerK,  eventMask,  isInc,  incRate,  TOP_ALIGNMENT,  CENTER_ALIGNMENT,  BOTTOM_ALIGNMENT,  LEFT_ALIGNMENT,  RIGHT_ALIGNMENT,  isPacked,  backgroundEraseDisabled,  eventCache,  accessibleContext
Constructor:
 public Dialog(Frame owner) 
    Constructs an initially invisible, modeless Dialog with the specified owner Frame and an empty title.
    Parameters:
    owner - the owner of the dialog or null if this dialog has no owner
    Throws:
    java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    Also see:
    java.awt.GraphicsEnvironment#isHeadless
    Component#setSize
    Component#setVisible
    exception: java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    exception: HeadlessException - when GraphicsEnvironment.isHeadless() returns true
 public Dialog(Dialog owner) 
 public Dialog(Window owner) 
    Constructs an initially invisible, modeless Dialog with the specified owner Window and an empty title.
    Parameters:
    owner - the owner of the dialog. The owner must be an instance of Dialog , Frame , any of their descendents or null
    Throws:
    java.lang.IllegalArgumentException - if the owner is not an instance of Dialog or Frame
    java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    Also see:
    java.awt.GraphicsEnvironment#isHeadless
    exception: java.lang.IllegalArgumentException - if the owner is not an instance of Dialog or Frame
    exception: java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    exception: HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    since: 1.6 -
 public Dialog(Frame owner,
    boolean modal) 
    Constructs an initially invisible Dialog with the specified owner Frame and modality and an empty title.
    Parameters:
    owner - the owner of the dialog or null if this dialog has no owner
    modal - specifes whether dialog blocks user input to other top-level windows when shown. If false, the dialog is MODELESS; if true, the modality type property is set to DEFAULT_MODALITY_TYPE
    Throws:
    java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    Also see:
    java.awt.Dialog.ModalityType
    java.awt.Dialog.ModalityType#MODELESS
    java.awt.Dialog#DEFAULT_MODALITY_TYPE
    java.awt.Dialog#setModal
    java.awt.Dialog#setModalityType
    java.awt.GraphicsEnvironment#isHeadless
    exception: java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    exception: HeadlessException - when GraphicsEnvironment.isHeadless() returns true
 public Dialog(Frame owner,
    String title) 
    Constructs an initially invisible, modeless Dialog with the specified owner Frame and title.
    Parameters:
    owner - the owner of the dialog or null if this dialog has no owner
    title - the title of the dialog or null if this dialog has no title
    Throws:
    IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    Also see:
    java.awt.GraphicsEnvironment#isHeadless
    Component#setSize
    Component#setVisible
    exception: IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    exception: HeadlessException - when GraphicsEnvironment.isHeadless() returns true
 public Dialog(Dialog owner,
    String title) 
    Constructs an initially invisible, modeless Dialog with the specified owner Dialog and title.
    Parameters:
    owner - the owner of the dialog or null if this has no owner
    title - the title of the dialog or null if this dialog has no title
    Throws:
    java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    Also see:
    java.awt.GraphicsEnvironment#isHeadless
    exception: java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    exception: HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    since: 1.2 -
 public Dialog(Window owner,
    String title) 
    Constructs an initially invisible, modeless Dialog with the specified owner Window and title.
    Parameters:
    owner - the owner of the dialog. The owner must be an instance of Dialog , Frame , any of their descendents or null
    title - the title of the dialog or null if this dialog has no title
    Throws:
    java.lang.IllegalArgumentException - if the owner is not an instance of Dialog or Frame
    java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    Also see:
    java.awt.GraphicsEnvironment#isHeadless
    exception: java.lang.IllegalArgumentException - if the owner is not an instance of Dialog or Frame
    exception: java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    exception: HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    since: 1.6 -
 public Dialog(Window owner,
    ModalityType modalityType) 
    Constructs an initially invisible Dialog with the specified owner Window and modality and an empty title.
    Parameters:
    owner - the owner of the dialog. The owner must be an instance of Dialog , Frame , any of their descendents or null
    modalityType - specifies whether dialog blocks input to other windows when shown. null value and unsupported modality types are equivalent to MODELESS
    Throws:
    java.lang.IllegalArgumentException - if the owner is not an instance of Dialog or Frame
    java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    SecurityException - if the calling thread does not have permission to create modal dialogs with the given modalityType
    Also see:
    java.awt.Dialog.ModalityType
    java.awt.Dialog#setModal
    java.awt.Dialog#setModalityType
    java.awt.GraphicsEnvironment#isHeadless
    java.awt.Toolkit#isModalityTypeSupported
    exception: java.lang.IllegalArgumentException - if the owner is not an instance of Dialog or Frame
    exception: java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    exception: HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    exception: SecurityException - if the calling thread does not have permission to create modal dialogs with the given modalityType
    since: 1.6 -
 public Dialog(Frame owner,
    String title,
    boolean modal) 
    Constructs an initially invisible Dialog with the specified owner Frame, title and modality.
    Parameters:
    owner - the owner of the dialog or null if this dialog has no owner
    title - the title of the dialog or null if this dialog has no title
    modal - specifes whether dialog blocks user input to other top-level windows when shown. If false, the dialog is MODELESS; if true, the modality type property is set to DEFAULT_MODALITY_TYPE
    Throws:
    java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    Also see:
    java.awt.Dialog.ModalityType
    java.awt.Dialog.ModalityType#MODELESS
    java.awt.Dialog#DEFAULT_MODALITY_TYPE
    java.awt.Dialog#setModal
    java.awt.Dialog#setModalityType
    java.awt.GraphicsEnvironment#isHeadless
    Component#setSize
    Component#setVisible
    exception: java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    exception: HeadlessException - when GraphicsEnvironment.isHeadless() returns true
 public Dialog(Dialog owner,
    String title,
    boolean modal) 
    Constructs an initially invisible Dialog with the specified owner Dialog, title, and modality.
    Parameters:
    owner - the owner of the dialog or null if this dialog has no owner
    title - the title of the dialog or null if this dialog has no title
    modal - specifes whether dialog blocks user input to other top-level windows when shown. If false, the dialog is MODELESS; if true, the modality type property is set to DEFAULT_MODALITY_TYPE
    Throws:
    IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    Also see:
    java.awt.Dialog.ModalityType
    java.awt.Dialog.ModalityType#MODELESS
    java.awt.Dialog#DEFAULT_MODALITY_TYPE
    java.awt.Dialog#setModal
    java.awt.Dialog#setModalityType
    java.awt.GraphicsEnvironment#isHeadless
    exception: IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    exception: HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    since: 1.2 -
 public Dialog(Window owner,
    String title,
    ModalityType modalityType) 
    Constructs an initially invisible Dialog with the specified owner Window, title and modality.
    Parameters:
    owner - the owner of the dialog. The owner must be an instance of Dialog , Frame , any of their descendents or null
    title - the title of the dialog or null if this dialog has no title
    modalityType - specifies whether dialog blocks input to other windows when shown. null value and unsupported modality types are equivalent to MODELESS
    Throws:
    java.lang.IllegalArgumentException - if the owner is not an instance of Dialog or Frame
    java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    SecurityException - if the calling thread does not have permission to create modal dialogs with the given modalityType
    Also see:
    java.awt.Dialog.ModalityType
    java.awt.Dialog#setModal
    java.awt.Dialog#setModalityType
    java.awt.GraphicsEnvironment#isHeadless
    java.awt.Toolkit#isModalityTypeSupported
    exception: java.lang.IllegalArgumentException - if the owner is not an instance of Dialog or Frame
    exception: java.lang.IllegalArgumentException - if the owner's GraphicsConfiguration is not from a screen device
    exception: HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    exception: SecurityException - if the calling thread does not have permission to create modal dialogs with the given modalityType
    since: 1.6 -
 public Dialog(Frame owner,
    String title,
    boolean modal,
    GraphicsConfiguration gc) 
    Constructs an initially invisible Dialog with the specified owner Frame, title, modality, and GraphicsConfiguration.
    Parameters:
    owner - the owner of the dialog or null if this dialog has no owner
    title - the title of the dialog or null if this dialog has no title
    modal - specifes whether dialog blocks user input to other top-level windows when shown. If false, the dialog is MODELESS; if true, the modality type property is set to DEFAULT_MODALITY_TYPE
    gc - the GraphicsConfiguration of the target screen device; if null, the default system GraphicsConfiguration is assumed
    Throws:
    java.lang.IllegalArgumentException - if gc is not from a screen device
    HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    Also see:
    java.awt.Dialog.ModalityType
    java.awt.Dialog.ModalityType#MODELESS
    java.awt.Dialog#DEFAULT_MODALITY_TYPE
    java.awt.Dialog#setModal
    java.awt.Dialog#setModalityType
    java.awt.GraphicsEnvironment#isHeadless
    Component#setSize
    Component#setVisible
    exception: java.lang.IllegalArgumentException - if gc is not from a screen device
    exception: HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    since: 1.4 -
 public Dialog(Dialog owner,
    String title,
    boolean modal,
    GraphicsConfiguration gc) 
    Constructs an initially invisible Dialog with the specified owner Dialog, title, modality and GraphicsConfiguration.
    Parameters:
    owner - the owner of the dialog or null if this dialog has no owner
    title - the title of the dialog or null if this dialog has no title
    modal - specifes whether dialog blocks user input to other top-level windows when shown. If false, the dialog is MODELESS; if true, the modality type property is set to DEFAULT_MODALITY_TYPE
    gc - the GraphicsConfiguration of the target screen device; if null, the default system GraphicsConfiguration is assumed
    Throws:
    java.lang.IllegalArgumentException - if gc is not from a screen device
    HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    Also see:
    java.awt.Dialog.ModalityType
    java.awt.Dialog.ModalityType#MODELESS
    java.awt.Dialog#DEFAULT_MODALITY_TYPE
    java.awt.Dialog#setModal
    java.awt.Dialog#setModalityType
    java.awt.GraphicsEnvironment#isHeadless
    Component#setSize
    Component#setVisible
    exception: java.lang.IllegalArgumentException - if gc is not from a screen device
    exception: HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    since: 1.4 -
 public Dialog(Window owner,
    String title,
    ModalityType modalityType,
    GraphicsConfiguration gc) 
    Constructs an initially invisible Dialog with the specified owner Window, title, modality and GraphicsConfiguration.
    Parameters:
    owner - the owner of the dialog. The owner must be an instance of Dialog , Frame , any of their descendents or null
    title - the title of the dialog or null if this dialog has no title
    modalityType - specifies whether dialog blocks input to other windows when shown. null value and unsupported modality types are equivalent to MODELESS
    gc - the GraphicsConfiguration of the target screen device; if null, the default system GraphicsConfiguration is assumed
    Throws:
    java.lang.IllegalArgumentException - if the owner is not an instance of Dialog or Frame
    java.lang.IllegalArgumentException - if gc is not from a screen device
    HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    SecurityException - if the calling thread does not have permission to create modal dialogs with the given modalityType
    Also see:
    java.awt.Dialog.ModalityType
    java.awt.Dialog#setModal
    java.awt.Dialog#setModalityType
    java.awt.GraphicsEnvironment#isHeadless
    java.awt.Toolkit#isModalityTypeSupported
    exception: java.lang.IllegalArgumentException - if the owner is not an instance of Dialog or Frame
    exception: java.lang.IllegalArgumentException - if gc is not from a screen device
    exception: HeadlessException - when GraphicsEnvironment.isHeadless() returns true
    exception: SecurityException - if the calling thread does not have permission to create modal dialogs with the given modalityType
    since: 1.6 -
Method from java.awt.Dialog Summary:
addNotify,   blockWindow,   blockWindows,   checkShouldBeBlocked,   constructComponentName,   doDispose,   getAccessibleContext,   getModalityType,   getTitle,   hide,   interruptBlocking,   isModal,   isModal_NoClientCode,   isResizable,   isUndecorated,   modalHide,   modalShow,   modalityPopped,   modalityPushed,   paramString,   setBackground,   setModal,   setModalityType,   setOpacity,   setResizable,   setShape,   setTitle,   setUndecorated,   setVisible,   shouldBlock,   show,   toBack,   unblockWindow
Methods from java.awt.Window:
addNotify,   addOwnedWindow,   addPropertyChangeListener,   addPropertyChangeListener,   addWindowFocusListener,   addWindowListener,   addWindowStateListener,   adjustDecendantsOnParent,   adjustListeningChildrenOnParent,   applyCompoundShape,   applyCurrentShape,   applyResourceBundle,   applyResourceBundle,   canContainFocusOwner,   clearMostRecentFocusOwnerOnHide,   closeSplashScreen,   connectOwnedWindow,   constructComponentName,   createBufferStrategy,   createBufferStrategy,   deliverMouseWheelToAncestor,   dispatchEventImpl,   dispatchMouseWheelToAncestor,   dispose,   disposeImpl,   doDispose,   eventEnabled,   getAccessibleContext,   getAllUnblockedWindows,   getAllWindows,   getBackground,   getBufferStrategy,   getContainer,   getDocumentRoot,   getFocusCycleRootAncestor,   getFocusOwner,   getFocusTraversalKeys,   getFocusableWindowState,   getIconImages,   getInputContext,   getListeners,   getLocale,   getLocationOnWindow,   getModalBlocker,   getModalExclusionType,   getMostRecentFocusOwner,   getOpacity,   getOwnedWindows,   getOwnedWindows_NoClientCode,   getOwner,   getOwner_NoClientCode,   getOwnerlessWindows,   getShape,   getTemporaryLostComponent,   getToolkit,   getType,   getWarningString,   getWindowFocusListeners,   getWindowListeners,   getWindowStateListeners,   getWindows,   hide,   isActive,   isAlwaysOnTop,   isAlwaysOnTopSupported,   isAutoRequestFocus,   isFocusCycleRoot,   isFocusableWindow,   isFocused,   isLocationByPlatform,   isModalBlocked,   isModalExcluded,   isOpaque,   isRecursivelyVisible,   isShowing,   isValidateRoot,   mixOnReshaping,   pack,   paint,   postEvent,   postProcessKeyEvent,   postWindowEvent,   preProcessKeyEvent,   processEvent,   processWindowEvent,   processWindowFocusEvent,   processWindowStateEvent,   removeNotify,   removeOwnedWindow,   removeWindowFocusListener,   removeWindowListener,   removeWindowStateListener,   reshape,   setAlwaysOnTop,   setAutoRequestFocus,   setBackground,   setBounds,   setBounds,   setClientSize,   setCursor,   setFocusCycleRoot,   setFocusableWindowState,   setGraphicsConfiguration,   setIconImage,   setIconImages,   setLocation,   setLocation,   setLocationByPlatform,   setLocationRelativeTo,   setMinimumSize,   setModalBlocked,   setModalExclusionType,   setOpacity,   setShape,   setSize,   setSize,   setTemporaryLostComponent,   setType,   setVisible,   show,   toBack,   toBack_NoClientCode,   toFront,   toFront_NoClientCode,   updateChildFocusableWindowState,   updateChildrenBlocking,   updateZOrder
Methods from java.awt.Container:
add,   add,   add,   add,   add,   addContainerListener,   addImpl,   addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   adjustDecendantsOnParent,   adjustDescendants,   adjustListeningChildren,   applyComponentOrientation,   areFocusTraversalKeysSet,   canContainFocusOwner,   checkGD,   clearCurrentFocusCycleRootOnHide,   clearMostRecentFocusOwnerOnHide,   containsFocus,   countComponents,   countHierarchyMembers,   createChildHierarchyEvents,   createHierarchyEvents,   decreaseComponentCount,   deliverEvent,   dispatchEventImpl,   dispatchEventToSelf,   doLayout,   eventEnabled,   findComponentAt,   findComponentAt,   findComponentAt,   findComponentAtImpl,   getAccessibleAt,   getAccessibleChild,   getAccessibleChildrenCount,   getAlignmentX,   getAlignmentY,   getComponent,   getComponentAt,   getComponentAt,   getComponentCount,   getComponentZOrder,   getComponents,   getComponentsSync,   getComponents_NoClientCode,   getContainerListeners,   getDropTargetEventTarget,   getFocusTraversalKeys,   getFocusTraversalPolicy,   getHeavyweightContainer,   getInsets,   getLayout,   getListeners,   getMaximumSize,   getMinimumSize,   getMouseEventTarget,   getMousePosition,   getOpaqueShape,   getPreferredSize,   getTraversalRoot,   hasHeavyweightDescendants,   hasLightweightDescendants,   increaseComponentCount,   initializeFocusTraversalKeys,   insets,   invalidate,   invalidateParent,   invalidateTree,   isAncestorOf,   isFocusCycleRoot,   isFocusCycleRoot,   isFocusTraversalPolicyProvider,   isFocusTraversalPolicySet,   isRecursivelyVisibleUpToHeavyweightContainer,   isSameOrAncestorOf,   isValidateRoot,   layout,   lightweightPaint,   lightweightPrint,   list,   list,   locate,   minimumSize,   mixOnHiding,   mixOnReshaping,   mixOnShowing,   mixOnValidating,   mixOnZOrderChanging,   numListening,   paint,   paintComponents,   paintHeavyweightComponents,   paramString,   postProcessKeyEvent,   postsOldMouseEvents,   preProcessKeyEvent,   preferredSize,   print,   printComponents,   printHeavyweightComponents,   processContainerEvent,   processEvent,   proxyEnableEvents,   recursiveApplyCurrentShape,   recursiveApplyCurrentShape,   recursiveApplyCurrentShape,   recursiveSubtractAndApplyShape,   recursiveSubtractAndApplyShape,   recursiveSubtractAndApplyShape,   remove,   remove,   removeAll,   removeContainerListener,   removeNotify,   setComponentZOrder,   setFocusCycleRoot,   setFocusTraversalKeys,   setFocusTraversalPolicy,   setFocusTraversalPolicyProvider,   setFont,   setLayout,   transferFocusDownCycle,   update,   updateGraphicsData,   validate,   validateTree,   validateUnconditionally
Methods from java.awt.Component:
action,   add,   addComponentListener,   addFocusListener,   addHierarchyBoundsListener,   addHierarchyListener,   addInputMethodListener,   addKeyListener,   addMouseListener,   addMouseMotionListener,   addMouseWheelListener,   addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   adjustListeningChildrenOnParent,   applyComponentOrientation,   applyCompoundShape,   applyCurrentShape,   areBoundsValid,   areFocusTraversalKeysSet,   areInputMethodsEnabled,   autoProcessMouseWheel,   bounds,   canBeFocusOwner,   canBeFocusOwnerRecursively,   checkGD,   checkImage,   checkImage,   checkTreeLock,   checkWindowClosingException,   clearCurrentFocusCycleRootOnHide,   clearMostRecentFocusOwnerOnHide,   coalesceEvents,   constructComponentName,   contains,   contains,   containsFocus,   countHierarchyMembers,   createBufferStrategy,   createBufferStrategy,   createHierarchyEvents,   createImage,   createImage,   createVolatileImage,   createVolatileImage,   deliverEvent,   disable,   disableEvents,   dispatchEvent,   dispatchEventImpl,   dispatchMouseWheelToAncestor,   doLayout,   enable,   enable,   enableEvents,   enableInputMethods,   eventEnabled,   eventTypeEnabled,   findUnderMouseInWindow,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   getAccessControlContext,   getAccessibleContext,   getAccessibleIndexInParent,   getAccessibleStateSet,   getAlignmentX,   getAlignmentY,   getBackBuffer,   getBackground,   getBaseline,   getBaselineResizeBehavior,   getBounds,   getBounds,   getBoundsOp,   getBufferStrategy,   getColorModel,   getComponentAt,   getComponentAt,   getComponentListeners,   getComponentOrientation,   getContainer,   getContainingWindow,   getCursor,   getCursor_NoClientCode,   getDropTarget,   getFocusCycleRootAncestor,   getFocusListeners,   getFocusTraversalKeys,   getFocusTraversalKeysEnabled,   getFocusTraversalKeys_NoIDCheck,   getFont,   getFontMetrics,   getFont_NoClientCode,   getForeground,   getGraphics,   getGraphicsConfiguration,   getGraphicsConfiguration_NoClientCode,   getGraphics_NoClientCode,   getHWPeerAboveMe,   getHeight,   getHierarchyBoundsListeners,   getHierarchyListeners,   getIgnoreRepaint,   getInputContext,   getInputMethodListeners,   getInputMethodRequests,   getKeyListeners,   getListeners,   getLocale,   getLocation,   getLocation,   getLocationOnScreen,   getLocationOnScreen_NoTreeLock,   getLocationOnWindow,   getMaximumSize,   getMinimumSize,   getMouseListeners,   getMouseMotionListeners,   getMousePosition,   getMouseWheelListeners,   getName,   getNativeContainer,   getNextFocusCandidate,   getNormalShape,   getObjectLock,   getOpaqueShape,   getParent,   getParent_NoClientCode,   getPeer,   getPreferredSize,   getPropertyChangeListeners,   getPropertyChangeListeners,   getSiblingIndexAbove,   getSiblingIndexBelow,   getSize,   getSize,   getToolkit,   getToolkitImpl,   getTraversalRoot,   getTreeLock,   getWidth,   getX,   getY,   gotFocus,   handleEvent,   hasFocus,   hide,   imageUpdate,   initializeFocusTraversalKeys,   inside,   invalidate,   invalidateIfValid,   invalidateParent,   isAutoFocusTransferOnDisposal,   isBackgroundSet,   isCoalescingEnabled,   isCursorSet,   isDisplayable,   isDoubleBuffered,   isEnabled,   isEnabledImpl,   isFocusCycleRoot,   isFocusOwner,   isFocusTraversable,   isFocusTraversableOverridden,   isFocusable,   isFontSet,   isForegroundSet,   isInstanceOf,   isLightweight,   isMaximumSizeSet,   isMinimumSizeSet,   isMixingNeeded,   isNonOpaqueForMixing,   isOpaque,   isPreferredSizeSet,   isRecursivelyVisible,   isSameOrAncestorOf,   isShowing,   isValid,   isVisible,   isVisible_NoClientCode,   keyDown,   keyUp,   layout,   lightweightPaint,   lightweightPrint,   list,   list,   list,   list,   list,   locate,   location,   lostFocus,   minimumSize,   mixOnHiding,   mixOnReshaping,   mixOnShowing,   mixOnValidating,   mixOnZOrderChanging,   mouseDown,   mouseDrag,   mouseEnter,   mouseExit,   mouseMove,   mouseUp,   move,   nextFocus,   numListening,   paint,   paintAll,   paintHeavyweightComponents,   paramString,   pointRelativeToComponent,   postEvent,   postsOldMouseEvents,   preferredSize,   prepareImage,   prepareImage,   print,   printAll,   printHeavyweightComponents,   processComponentEvent,   processEvent,   processFocusEvent,   processHierarchyBoundsEvent,   processHierarchyEvent,   processInputMethodEvent,   processKeyEvent,   processMouseEvent,   processMouseMotionEvent,   processMouseWheelEvent,   relocateComponent,   remove,   removeComponentListener,   removeFocusListener,   removeHierarchyBoundsListener,   removeHierarchyListener,   removeInputMethodListener,   removeKeyListener,   removeMouseListener,   removeMouseMotionListener,   removeMouseWheelListener,   removeNotify,   removePropertyChangeListener,   removePropertyChangeListener,   repaint,   repaint,   repaint,   repaint,   requestFocus,   requestFocus,   requestFocus,   requestFocus,   requestFocusHelper,   requestFocusHelper,   requestFocusInWindow,   requestFocusInWindow,   requestFocusInWindow,   requestFocusInWindow,   reshape,   resize,   resize,   revalidate,   setAutoFocusTransferOnDisposal,   setBackground,   setBounds,   setBounds,   setBoundsOp,   setComponentOrientation,   setCursor,   setDropTarget,   setEnabled,   setFocusTraversalKeys,   setFocusTraversalKeysEnabled,   setFocusTraversalKeys_NoIDCheck,   setFocusable,   setFont,   setForeground,   setGraphicsConfiguration,   setIgnoreRepaint,   setLocale,   setLocation,   setLocation,   setMaximumSize,   setMinimumSize,   setName,   setPreferredSize,   setRequestFocusController,   setSize,   setSize,   setVisible,   show,   show,   size,   subtractAndApplyShape,   subtractAndApplyShapeBelowMe,   toString,   transferFocus,   transferFocus,   transferFocusBackward,   transferFocusBackward,   transferFocusUpCycle,   update,   updateCursorImmediately,   updateGraphicsData,   updateZOrder,   validate
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.awt.Dialog Detail:
 public  void addNotify() 
    Makes this Dialog displayable by connecting it to a native screen resource. Making a dialog displayable will cause any of its children to be made displayable. This method is called internally by the toolkit and should not be called directly by programs.
  void blockWindow(Window w) 
  void blockWindows(List<Window> toBlock) 
 static  void checkShouldBeBlocked(Window w) 
 String constructComponentName() 
    Construct a name for this component. Called by getName() when the name is null.
  void doDispose() 
    Disposes the Dialog and then causes show() to return if it is currently blocked.
 public AccessibleContext getAccessibleContext() 
    Gets the AccessibleContext associated with this Dialog. For dialogs, the AccessibleContext takes the form of an AccessibleAWTDialog. A new AccessibleAWTDialog instance is created if necessary.
 public ModalityType getModalityType() 
    Returns the modality type of this dialog.
 public String getTitle() 
    Gets the title of the dialog. The title is displayed in the dialog's border.
 public  void hide() 
Deprecated! As - of JDK version 1.5, replaced by setVisible(boolean) .

    Hides the Dialog and then causes {@code show} to return if it is currently blocked.
  void interruptBlocking() 
 public boolean isModal() 
    Indicates whether the dialog is modal.

    This method is obsolete and is kept for backwards compatiblity only. Use getModalityType() instead.

 final boolean isModal_NoClientCode() 
 public boolean isResizable() 
    Indicates whether this dialog is resizable by the user. By default, all dialogs are initially resizable.
 public boolean isUndecorated() 
    Indicates whether this dialog is undecorated. By default, all dialogs are initially decorated.
  void modalHide() 
  void modalShow() 
 final  void modalityPopped() 
 final  void modalityPushed() 
 protected String paramString() 
    Returns a string representing the state of this dialog. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null.
 public  void setBackground(Color bgColor) 
    {@inheritDoc}
 public  void setModal(boolean modal) 
    Specifies whether this dialog should be modal.

    This method is obsolete and is kept for backwards compatibility only. Use setModalityType() instead.

    Note: changing modality of the visible dialog may have no effect until it is hidden and then shown again.

 public  void setModalityType(ModalityType type) 
    Sets the modality type for this dialog. See ModalityType for possible modality types.

    If the given modality type is not supported, MODELESS is used. You may want to call getModalityType() after calling this method to ensure that the modality type has been set.

    Note: changing modality of the visible dialog may have no effect until it is hidden and then shown again.

 public  void setOpacity(float opacity) 
    {@inheritDoc}
 public  void setResizable(boolean resizable) 
    Sets whether this dialog is resizable by the user.
 public  void setShape(Shape shape) 
    {@inheritDoc}
 public  void setTitle(String title) 
    Sets the title of the Dialog.
 public  void setUndecorated(boolean undecorated) 
    Disables or enables decorations for this dialog.

    This method can only be called while the dialog is not displayable. To make this dialog decorated, it must be opaque and have the default shape, otherwise the {@code IllegalComponentStateException} will be thrown. Refer to Window#setShape , Window#setOpacity and Window#setBackground for details

 public  void setVisible(boolean b) 
    Shows or hides this {@code Dialog} depending on the value of parameter {@code b}.
 boolean shouldBlock(Window w) 
 public  void show() 
Deprecated! As - of JDK version 1.5, replaced by setVisible(boolean) .

    Makes the {@code Dialog} visible. If the dialog and/or its owner are not yet displayable, both are made displayable. The dialog will be validated prior to being made visible. If the dialog is already visible, this will bring the dialog to the front.

    If the dialog is modal and is not already visible, this call will not return until the dialog is hidden by calling hide or dispose. It is permissible to show modal dialogs from the event dispatching thread because the toolkit will ensure that another event pump runs while the one which invoked this method is blocked.

 public  void toBack() 
    {@inheritDoc}

    If this dialog is modal and blocks some windows, then all of them are also sent to the back to keep them below the blocking dialog.

  void unblockWindow(Window w)