Searched refs:dialog (Results 1 - 25 of 134) sorted by relevance

123456

/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXModalityProtocol.java31 * Sets modality mode on the dialog.
32 * Returns true if the call to this function made dialog
35 boolean setModal(XDialogPeer dialog, boolean modal); argument
38 * Returns whether or not modal dialog blocks win.
39 * If dialog is null checks whether or not this windows
40 * is blocked by any dialog
42 boolean isBlocked(XDialogPeer dialog, XWindowPeer win); argument
/openjdk7/jdk/test/java/awt/Dialog/ValidateOnShow/
H A DValidateOnShow.java35 private static Dialog dialog = new Dialog((Frame)null); field in class:ValidateOnShow
49 System.out.println("Before showing: panel.isValid=" + panel.isValid() + " dialog.isValid=" + dialog.isValid());
50 dialog.setVisible(true);
52 System.out.println("After showing: panel.isValid=" + panel.isValid() + " dialog.isValid=" + dialog.isValid());
55 dialog.dispose();
56 throw new RuntimeException("The panel hasn't been validated upon showing the dialog");
59 dialog.setVisible(false);
65 dialog
[all...]
/openjdk7/jdk/test/java/awt/Dialog/ModalDialogPermission/
H A DModalDialogPermission.java33 @author sergey.bylokhov@oracle.com: area=awt.dialog
46 final Dialog dialog = new Dialog(frame, "ModalDialog", true);
52 dialog.setVisible(false);
53 dialog.dispose();
56 dialog.show();
/openjdk7/jdk/test/java/awt/Choice/NonFocusablePopupMenuTest/
H A DNonFocusablePopupMenuTest.java89 It creates a dialog (with the instructions), and is the interface
101 private static TestDialog dialog; field in class:Sysout
105 dialog = new TestDialog( new Frame(), "Instructions" );
106 dialog.printInstructions( instructions );
107 dialog.setVisible(true);
113 dialog = new TestDialog( new Frame(), "Instructions" );
115 dialog.printInstructions( defInstr );
116 dialog.setVisible(true);
123 dialog.printInstructions( instructions );
129 dialog
[all...]
/openjdk7/jdk/test/java/awt/Frame/InitialMaximizedTest/
H A DInitialMaximizedTest.java92 It creates a dialog (with the instructions), and is the interface
104 private static TestDialog dialog; field in class:Sysout
108 dialog = new TestDialog( new Frame(), "Instructions" );
109 dialog.printInstructions( instructions );
110 dialog.setVisible(true);
116 dialog = new TestDialog( new Frame(), "Instructions" );
118 dialog.printInstructions( defInstr );
119 dialog.setVisible(true);
126 dialog.printInstructions( instructions );
132 dialog
[all...]
/openjdk7/jdk/test/java/awt/Frame/ShownOnPack/
H A DShownOnPack.java103 It creates a dialog (with the instructions), and is the interface
115 private static TestDialog dialog; field in class:Sysout
119 dialog = new TestDialog( new Frame(), "Instructions" );
120 dialog.printInstructions( instructions );
121 dialog.setVisible(true);
127 dialog = new TestDialog( new Frame(), "Instructions" );
129 dialog.printInstructions( defInstr );
130 dialog.setVisible(true);
137 dialog.printInstructions( instructions );
143 dialog
[all...]
/openjdk7/jdk/test/java/awt/TextField/ScrollSelectionTest/
H A DScrollSelectionTest.java90 It creates a dialog (with the instructions), and is the interface
102 private static TestDialog dialog; field in class:Sysout
106 dialog = new TestDialog( new Frame(), "Instructions" );
107 dialog.printInstructions( instructions );
108 dialog.show();
114 dialog = new TestDialog( new Frame(), "Instructions" );
116 dialog.printInstructions( defInstr );
117 dialog.show();
124 dialog.printInstructions( instructions );
130 dialog
[all...]
/openjdk7/jdk/test/java/awt/dnd/DnDFileGroupDescriptor/
H A DDnDFileGroupDescriptor.java85 private static TestDialog dialog; field in class:Sysout
89 dialog = new TestDialog( new Frame(), "Instructions" );
90 dialog.printInstructions( instructions );
91 dialog.show();
97 dialog = new TestDialog( new Frame(), "Instructions" );
99 dialog.printInstructions( defInstr );
100 dialog.show();
107 dialog.printInstructions( instructions );
113 dialog.displayMessage( messageIn );
/openjdk7/jdk/test/java/awt/event/MouseEvent/AWTPanelSmoothWheel/
H A DAWTPanelSmoothWheel.java125 It creates a dialog (with the instructions), and is the interface
137 private static TestDialog dialog; field in class:Sysout
141 dialog = new TestDialog( new Frame(), "Instructions" );
142 dialog.printInstructions( instructions );
143 dialog.setVisible(true);
149 dialog = new TestDialog( new Frame(), "Instructions" );
151 dialog.printInstructions( defInstr );
152 dialog.setVisible(true);
159 dialog.printInstructions( instructions );
165 dialog
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DThreadDialog.java52 JDialog dialog = pane.createDialog(parentComponent, title);
53 dialog.setResizable(true);
54 dialog.setVisible(true);
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DLaunchTool.java132 final JDialog dialog = new JDialog();
133 Container content = dialog.getContentPane();
140 dialog.setModal(true);
141 dialog.setTitle("Select Connector Type");
152 JPanel buttonPanel = okCancel( dialog, new ActionListener() {
156 JOptionPane.showMessageDialog(dialog,
162 dialog.setVisible(false);
163 dialog.dispose();
168 dialog.pack();
169 dialog
247 okCancel(final JDialog dialog, ActionListener okListener) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dsun_awt_X11_GtkFileDialogPeer.c48 GtkWidget * dialog = (GtkWidget*)jlong_to_ptr( local
51 if (dialog != NULL)
60 fp_gtk_widget_hide (dialog);
61 fp_gtk_widget_destroy (dialog);
92 GtkWidget * dialog; local
96 dialog = (GtkWidget*)jlong_to_ptr(
99 if (dialog != NULL) {
100 fp_gtk_window_present((GtkWindow*)dialog);
114 GtkWindow* dialog; local
118 dialog
213 GtkWidget *dialog = NULL; local
[all...]
/openjdk7/jdk/test/java/awt/Component/F10TopToplevel/
H A DF10TopToplevel.java48 Dialog dialog; field in class:F10TopToplevel
86 dialog = new Dialog(frame);
87 dialog.setSize( 100,100 );
88 dialog.setVisible(true);
97 robot.mouseMove(dialog.getLocationOnScreen().x + dialog.getWidth()/2,
98 dialog.getLocationOnScreen().y + dialog.getHeight()/2 );
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest4177735.java45 JDialog dialog = show(chooser);
48 dialog.dispose();
59 JDialog dialog = JColorChooser.createDialog(null, null, false, chooser, null, null);
60 dialog.setVisible(true);
65 point = dialog.getLocationOnScreen();
71 return dialog;
H A DTest6559154.java42 private JDialog dialog; field in class:Test6559154
45 if (this.dialog != null) {
46 this.dialog.dispose();
58 this.dialog = new JDialog();
59 this.dialog.add(chooser);
60 this.dialog.setVisible(true);
/openjdk7/jdk/test/java/awt/Focus/ModalBlockedStealsFocusTest/
H A DModalBlockedStealsFocusTest.java43 Dialog dialog = new Dialog(frame, "Modal Dialog", Dialog.ModalityType.TOOLKIT_MODAL); field in class:ModalBlockedStealsFocusTest
68 dialog.setBounds(800, 0, 200, 100);
71 dialog.addWindowFocusListener(new WindowAdapter() {
83 dialog.setVisible(true);
87 Util.waitTillShown(dialog);
126 It creates a dialog (with the instructions), and is the interface
138 static TestDialog dialog; field in class:Sysout
142 dialog = new TestDialog( new Frame(), "Instructions" );
143 dialog.printInstructions( instructions );
144 dialog
[all...]
/openjdk7/jdk/test/java/awt/regtesthelpers/
H A DSysout.java25 This class creates a dialog (with the instructions) and is the interface
42 private static TestDialog dialog; field in class:Sysout
57 dialog = new TestDialog(null, "Instructions" );
58 dialog.printInstructions( instructions );
59 dialog.setVisible(true);
74 dialog.printInstructions( instructions );
80 if (dialog != null){
81 dialog.displayMessage( messageIn );
/openjdk7/jdk/test/java/awt/Component/UpdatingBootTime/
H A DUpdatingBootTime.java97 It creates a dialog (with the instructions), and is the interface
109 private static TestDialog dialog; field in class:Sysout
113 dialog = new TestDialog( new Frame(), "Instructions" );
114 dialog.printInstructions( instructions );
115 dialog.setVisible(true);
121 dialog = new TestDialog( new Frame(), "Instructions" );
123 dialog.printInstructions( defInstr );
124 dialog.setVisible(true);
131 dialog.printInstructions( instructions );
137 dialog
[all...]
/openjdk7/jdk/test/java/awt/FileDialog/FileDialogReturnTest/
H A DFileDialogReturnTest.java39 * the dialog. The only way to detect whether the user cancels the
40 * dialog or the user selects any file is to use the getFile() method.
42 * the dialog or non-null value if the user selects any file.
62 " 4. Press the 'Show' button and a file dialog will appear, ",
63 " 5-1. Cancel the file dialog, e.g. by selecting the 'close' menu item, ",
121 It creates a dialog (with the instructions), and is the interface
133 private static TestDialog dialog; field in class:Sysout
137 dialog = new TestDialog( new Frame(), "Instructions" );
138 dialog.printInstructions( instructions );
139 dialog
[all...]
/openjdk7/jdk/test/java/awt/FileDialog/MultipleMode/
H A DMultipleMode.java84 " 2. Verify that the file dialog doesn't allow the multiple file selection ",
85 " 3. Select any file and close the file dialog ",
88 " 6. Verify that the file dialog allows the multiple file selection ",
89 " 7. Select several files and close the file dialog ",
154 It creates a dialog (with the instructions), and is the interface
166 private static TestDialog dialog; field in class:Sysout
172 dialog = new TestDialog( new Frame(), "Instructions" );
173 dialog.printInstructions( instructions );
174 dialog.setVisible(true);
180 dialog
[all...]
/openjdk7/jdk/test/java/awt/FileDialog/RegexpFilterTest/
H A DRegexpFilterTest.java38 * are displayed in the dialog. This filter is generally specified as a regular
58 " 1. Press the 'Show' button and a file dialog will appear, ",
101 It creates a dialog (with the instructions), and is the interface
113 private static TestDialog dialog; field in class:Sysout
117 dialog = new TestDialog( new Frame(), "Instructions" );
118 dialog.printInstructions( instructions );
119 dialog.setVisible(true);
125 dialog = new TestDialog( new Frame(), "Instructions" );
127 dialog.printInstructions( defInstr );
128 dialog
[all...]
/openjdk7/jdk/test/java/awt/List/MouseDraggedOutCauseScrollingTest/
H A DMouseDraggedOutCauseScrollingTest.java121 It creates a dialog (with the instructions), and is the interface
133 private static TestDialog dialog; field in class:Sysout
137 dialog = new TestDialog( new Frame(), "Instructions" );
138 dialog.printInstructions( instructions );
139 dialog.setVisible(true);
145 dialog = new TestDialog( new Frame(), "Instructions" );
147 dialog.printInstructions( defInstr );
148 dialog.setVisible(true);
155 dialog.printInstructions( instructions );
161 dialog
[all...]
/openjdk7/jdk/test/java/awt/List/SetFontTest/
H A DSetFontTest.java109 It creates a dialog (with the instructions), and is the interface
121 private static TestDialog dialog; field in class:Sysout
125 dialog = new TestDialog( new Frame(), "Instructions" );
126 dialog.printInstructions( instructions );
127 dialog.setVisible(true);
133 dialog = new TestDialog( new Frame(), "Instructions" );
135 dialog.printInstructions( defInstr );
136 dialog.setVisible(true);
143 dialog.printInstructions( instructions );
149 dialog
[all...]
/openjdk7/jdk/test/java/awt/PrintJob/PageSetupDlgBlockingTest/
H A DPageSetupDlgBlockingTest.java27 @summary Native modal dialog shouldn't block event dispatching when called on EventDispatchThread.
58 "This test verifies that native modal 'Page Setup' dialog doesn't block event",
64 " - 'Page Setup' dialog will appear.",
65 "2. Drag the dialog over the 'Test Frame' so that to enforce its button redraw:",
86 // Show PAINT events only when the dialog is displayed.
122 It creates a dialog (with the instructions), and is the interface
134 private static TestDialog dialog; field in class:Sysout
138 dialog = new TestDialog( new Frame(), "Instructions" );
139 dialog.printInstructions( instructions );
140 dialog
[all...]
/openjdk7/jdk/test/java/awt/PrintJob/PrintCheckboxTest/
H A DPrintCheckboxManualTest.java83 "2. Select a printer in the print dialog and proceed",
170 It creates a dialog (with the instructions), and is the interface
182 private static TestDialog dialog; field in class:Sysout
186 dialog = new TestDialog( new Frame(), "Instructions" );
187 dialog.printInstructions( instructions );
188 dialog.setVisible(true);
194 dialog = new TestDialog( new Frame(), "Instructions" );
196 dialog.printInstructions( defInstr );
197 dialog.setVisible(true);
204 dialog
[all...]

Completed in 78 milliseconds

123456