public class JDialogFactory extends Object
JDialogFactory provides factory methods for create swing JDialog
objects| Constructor and Description |
|---|
JDialogFactory() |
| Modifier and Type | Method and Description |
|---|---|
static JDialog |
newJDialog(Component parentComponent,
@NonNull JOptionPane pane,
String title)
Factory method for create a
JDialog object over the given JOptionPane. |
static JDialog |
newJDialog(Component parentComponent,
String title,
boolean modal,
GraphicsConfiguration gc)
Factory method for create a
JDialog object. |
static JDialog |
newJDialog(Component parentComponent,
String title,
Dialog.ModalityType modalityType,
GraphicsConfiguration gc)
Factory method for create a
JDialog object. |
static JDialog |
newJDialog(@NonNull JOptionPane pane,
String title)
Factory method for create a
JDialog object over the given JOptionPane |
public static JDialog newJDialog(Component parentComponent, String title, boolean modal, GraphicsConfiguration gc)
JDialog object.parentComponent - the parent componenttitle - the titlemodal - the modalgc - the GraphicsConfiguration of the target screen device; if null,
the default system GraphicsConfiguration is assumedJDialogpublic static JDialog newJDialog(Component parentComponent, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc)
JDialog object.parentComponent - the parent componenttitle - the titlemodalityType - the modality typegc - the GraphicsConfiguration of the target screen device; if null,
the default system GraphicsConfiguration is assumedJDialogpublic static JDialog newJDialog(@NonNull @NonNull JOptionPane pane, String title)
JDialog object over the given JOptionPanepane - the panetitle - the titleJDialogpublic static JDialog newJDialog(Component parentComponent, @NonNull @NonNull JOptionPane pane, String title)
JDialog object over the given JOptionPane.parentComponent - the parent componentpane - the panetitle - the titleJDialogCopyright © 2015–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.