All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sgi.sysadm.ui.RDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----javax.swing.JDialog
                                           |
                                           +----com.sgi.sysadm.ui.RDialog

public class RDialog
extends JDialog
RDialog is a JDialog that can handle having its owner programmatically de-iconified via calls to removeNotify and addNotify. RDialog catches exceptions thrown by JDialog when an RFrame owner that has been de-iconified is closed.

RDialog also returns its owning Frame when getOwner is called.

Dialogs are typically displayed using the UIContext class.

See Also:
UIContext

Constructor Index

 o RDialog(Frame)
Construct an RDialog.

Method Index

 o getOwner()
Get the Frame owner of this RDialog.
 o pack()
Calls super.pack() twice to work around bug in Java 2 where the "Warning: Applet Window" message messes up dialog layouts.
 o removeNotify()
Called when our peer is to be removed.

Constructors

 o RDialog
 public RDialog(Frame owner)
Construct an RDialog.

Parameters:
owner - Frame owner of this dialog.

Methods

 o removeNotify
 public void removeNotify()
Called when our peer is to be removed. Overridden from JDialog to catch exceptions that occur after Frames are de-iconified by calling removeNotify and addNotify.

Overrides:
removeNotify in class Container
See Also:
RFrame
 o getOwner
 public Frame getOwner()
Get the Frame owner of this RDialog.

Returns:
Frame owner of this RDialog.
 o pack
 public void pack()
Calls super.pack() twice to work around bug in Java 2 where the "Warning: Applet Window" message messes up dialog layouts.

Overrides:
pack in class Window

All Packages  Class Hierarchy  This Package  Previous  Next  Index