| java.lang.Object org.acm.seguin.awt.CenterDialog
CenterDialog | public class CenterDialog (Code) | | This object is responsible for centering the dialog box on the screen.
author: Chris Seguin |
center | public static void center(JDialog dialog, JFrame parent)(Code) | | Actually does the work
Parameters: dialog - The dialog box Parameters: parent - the frame we are centering the dialog over or null if weshould center it on the screen |
center | public static void center(JDialog dialog)(Code) | | Actually does the work to center the dialog, but uses the
EditorOperation's frame to determine what to center the dialog over.
Parameters: dialog - The dialog box |
center | public static void center(JDialog dialog, UMLPackage umlPackage)(Code) | | Center the dailog on a diagram's frame
Parameters: dialog - the diagram Parameters: umlPackage - the frame |
|
|