owner_
component and is centered on it. If owner_
is null, default (black/white) colors are used.
JDialog
wrapping this
centered on the parentComponent
in the parentComponent
's frame. title
is the title of the returned dialog. The returned JDialog
will not be resizable by the user, however programs can invoke setResizable
on the JDialog
instance to change this property. The returned JDialog
will be set up such that once it is closed, or the user clicks on one of the buttons, the optionpane's value property will be set accordingly and the dialog will be closed. Each time the dialog is made visible, it will reset the option pane's value property to JOptionPane.UNINITIALIZED_VALUE
to ensure the user's subsequent action closes the dialog properly.
@param parentComponent determines the frame in which the dialog is displayed; if the parentComponent
has no Frame
, a default Frame
is used
@param title the title string for the dialog
@return a new JDialog
containing this instance
@throws HeadlessException if GraphicsEnvironment.isHeadless
returns true
@see java.awt.GraphicsEnvironment#isHeadless
If the given name is unknown then null is returned. @param name the name the dialog window is reference by. @param mTab the parent tab that is launching the dialog. @return the CDialog referenced by the name or null if the name is unknown.
null
if no applicable pagesare found.
@since 3.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|