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
-
RDialog(Frame)
- Construct an RDialog.
-
getOwner()
- Get the Frame owner of this RDialog.
-
pack()
- Calls super.pack() twice to work around bug in Java 2 where the
"Warning: Applet Window" message messes up dialog layouts.
-
removeNotify()
- Called when our peer is to be removed.
RDialog
public RDialog(Frame owner)
- Construct an RDialog.
- Parameters:
- owner - Frame owner of this dialog.
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
getOwner
public Frame getOwner()
- Get the Frame owner of this RDialog.
- Returns:
- Frame owner of this RDialog.
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