Searched refs:JDialog (Results 1 - 25 of 100) sorted by relevance

1234

/openjdk10/jdk/test/javax/swing/Headless/
H A DHeadlessJDialog.java29 * @summary Check that JDialog constructors throw HeadlessException in headless mode
36 JDialog b;
39 b = new JDialog();
48 b = new JDialog(new Frame("Frame title"));
57 b = new JDialog(new Frame("Frame title"), true);
66 b = new JDialog(new Frame("Frame title"), false);
75 b = new JDialog(new Frame("Frame title"), "Dialog title");
84 b = new JDialog(new Frame("Frame title"), "Dialog title", true);
93 b = new JDialog(new Frame("Frame title"), "Dialog title", false);
/openjdk10/jdk/test/javax/swing/JDialog/6639507/
H A Dbug6639507.java28 * @summary Title of javax.swing.JDialog is null while spec says it's empty
46 assertEmptyTitle(new JDialog((Frame) null), "new JDialog((Frame) null)");
47 assertEmptyTitle(new JDialog((Frame) null, true), "new JDialog((Frame) null, true)");
48 assertEmptyTitle(new JDialog((Dialog) null), "new JDialog((Dialog) null)");
49 assertEmptyTitle(new JDialog((Dialog) null, true), "new JDialog((Dialog) null, true)");
50 assertEmptyTitle(new JDialog((Windo
[all...]
/openjdk10/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/operators/
H A DJDialogOperator.java31 import javax.swing.JDialog;
61 public JDialogOperator(JDialog w) {
107 this((JDialog) owner.
256 * @return JDialog instance or null if component was not found.
258 public static JDialog findJDialog(ComponentChooser chooser, int index) {
259 return (JDialog) DialogWaiter.getDialog(new JDialogFinder(chooser), index);
266 * @return JDialog instance or null if component was not found.
268 public static JDialog findJDialog(ComponentChooser chooser) {
279 * @return JDialog instance or null if component was not found.
281 public static JDialog findJDialo
[all...]
/openjdk10/jdk/test/java/awt/Window/WindowClosedEvents/
H A DWindowClosedEventOnDispose.java38 import javax.swing.JDialog;
86 JDialog dlg = new JDialog(f);
102 JDialog dlg = new JDialog(f);
127 * Test if a JDialog receive the correct number
141 JDialog[] dialogs = new JDialog[N_DIALOGS];
144 dialogs[i]= new JDialog(f);
147 dialogs[i] = new JDialog();
[all...]
/openjdk10/jdk/test/javax/swing/JOptionPane/6464022/
H A Dbug6464022.java44 final List<WeakReference<JDialog>> references = new ArrayList<WeakReference<JDialog>>();
51 JDialog dialog = pane.createDialog(null, "Test " + i);
53 references.add(new WeakReference<JDialog>(dialog));
68 for (WeakReference<JDialog> ref : references) {
/openjdk10/jdk/test/javax/swing/JDialog/WrongBackgroundColor/
H A DWrongBackgroundColor.java27 import javax.swing.JDialog;
38 * @summary JDialog should update background color of the native peer.
48 final JDialog dialog = new JDialog();
/openjdk10/jdk/src/demo/share/jfc/Metalworks/
H A DMetalworks.java43 import javax.swing.JDialog;
60 JDialog.setDefaultLookAndFeelDecorated(true);
/openjdk10/jdk/test/javax/swing/JFrame/AlwaysOnTop/
H A DAlwaysOnTopImeTest.java38 private static JDialog d;
45 d = new JDialog(f);
/openjdk10/jdk/test/sanity/client/lib/jemmy/src/org/netbeans/jemmy/accessibility/
H A DAccessibilityChooser.java29 import javax.swing.JDialog;
41 } else if (comp instanceof JDialog) {
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DJDialog.java45 * The {@code JDialog} component contains a {@code JRootPane}
48 * {@code JDialog}.
63 * of a {@code JDialog}.
69 * In a multi-screen environment, you can create a {@code JDialog}
99 public class JDialog extends Dialog implements WindowConstants, class in inherits:Dialog,WindowConstants,Accessible,RootPaneContainer,TransferHandler.HasGetTransferHandler
109 new StringBuffer("JDialog.defaultLookAndFeelDecorated");
122 * false, but is set to true when the {@code JDialog} is constructed.
144 * {@code JDialog}. To create an unowned {@code JDialog}
145 * you must use either the {@code JDialog(Windo
154 public JDialog() { method in class:JDialog
179 public JDialog(Frame owner) { method in class:JDialog
206 public JDialog(Frame owner, boolean modal) { method in class:JDialog
233 public JDialog(Frame owner, String title) { method in class:JDialog
272 public JDialog(Frame owner, String title, boolean modal) { method in class:JDialog
322 public JDialog(Frame owner, String title, boolean modal, method in class:JDialog
348 public JDialog(Dialog owner) { method in class:JDialog
374 public JDialog(Dialog owner, boolean modal) { method in class:JDialog
394 public JDialog(Dialog owner, String title) { method in class:JDialog
422 public JDialog(Dialog owner, String title, boolean modal) { method in class:JDialog
460 public JDialog(Dialog owner, String title, boolean modal, method in class:JDialog
489 public JDialog(Window owner) { method in class:JDialog
525 public JDialog(Window owner, ModalityType modalityType) { method in class:JDialog
554 public JDialog(Window owner, String title) { method in class:JDialog
592 public JDialog(Window owner, String title, Dialog.ModalityType modalityType) { method in class:JDialog
637 public JDialog(Window owner, String title, Dialog.ModalityType modalityType, method in class:JDialog
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/com/sun/java/swing/ui/
H A DOkCancelDialog.java32 import javax.swing.JDialog;
38 public class OkCancelDialog extends JDialog
/openjdk10/jdk/test/javax/swing/JColorChooser/
H A DTest4234761.java36 import javax.swing.JDialog;
44 JDialog dialog = Test4177735.show(chooser);
H A DTest4177735.java34 import javax.swing.JDialog;
57 JDialog dialog = show(chooser);
70 static JDialog show(JColorChooser chooser) {
71 JDialog dialog = JColorChooser.createDialog(null, null, false, chooser, null, null);
H A DTest6559154.java37 import javax.swing.JDialog;
43 private JDialog dialog;
59 this.dialog = new JDialog();
H A DTest4759934.java40 import javax.swing.JDialog;
56 JDialog dialog = new JDialog(this.frame, "Dialog"); // NON-NLS: dialog title
/openjdk10/jdk/test/javax/swing/JPopupMenu/6544309/
H A Dbug6544309.java39 import javax.swing.JDialog;
45 private JDialog dialog;
70 dialog = new JDialog();
71 dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
110 throw new RuntimeException("If a JDialog is invoker for JPopupMenu, " +
/openjdk10/jdk/test/java/awt/Focus/ModalDialogActivationTest/
H A DModalDialogActivationTest.java30 import javax.swing.JDialog;
65 final JDialog d = new MyModalDialog(f, "dialog");
88 static class MyModalDialog extends JDialog {
/openjdk10/jdk/test/javax/swing/JDialog/Transparency/
H A DTransparencyTest.java36 import javax.swing.JDialog;
43 private static JDialog dialog;
44 private static JDialog backgroundDialog;
55 dialog = new JDialog(frame, false);
60 backgroundDialog = new JDialog(frame, false);
125 throw new RuntimeException("JDialog transparency lost "
/openjdk10/jdk/test/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/dialog/
H A DDialogDemo.java40 value = "JDialog Demo",
42 description = "Demonstrates JDialog, Swing's top-level dialog container.",
51 private JDialog dialog;
54 public static final String DIALOG_TITLE = "Demo JDialog";
55 public static final String SHOW_BUTTON_TITLE = "Show JDialog...";
74 private static JComponent createDialogSpaceholder(JDialog dialog) {
99 private static JDialog createDialog() {
102 JDialog dialog = new JDialog(new JFrame(), DIALOG_TITLE, false);
/openjdk10/jdk/test/java/awt/PrintJob/
H A DJobAttrUpdateTest.java35 import javax.swing.JDialog;
107 final JDialog dialog = new JDialog();
/openjdk10/jdk/src/jdk.jconsole/share/classes/sun/tools/jconsole/inspector/
H A DThreadDialog.java52 JDialog dialog = pane.createDialog(parentComponent, title);
/openjdk10/jdk/test/java/awt/Window/MultiWindowApp/
H A DChildAlwaysOnTopTest.java74 win1 = parent == null ? new JDialog() : new JDialog(parent);
76 win2 = parent == null ? new JDialog() : new JDialog(parent);
/openjdk10/jdk/test/java/awt/Focus/8013611/
H A DJDK8013611.java48 static JDialog dialog;
61 dialog = new JDialog(frame, true);
/openjdk10/jdk/test/javax/swing/JOptionPane/8139213/
H A DOptionPaneTest.java35 import javax.swing.JDialog;
43 private static JDialog dialog;
/openjdk10/jdk/test/javax/swing/SwingUtilities/4917669/
H A Dbug4917669.java29 * @summary 1.4 REGRESSION: MenuItem accelerator doesn't work if parent menu is in JDialog
77 JDialog dialog = new JDialog(mainFrame, "Test Dialog", false);

Completed in 1269 milliseconds

1234