Searched refs:dialog (Results 76 - 100 of 134) sorted by relevance

123456

/openjdk7/jdk/test/javax/swing/JOptionPane/7138665/
H A Dbug7138665.java45 JDialog dialog = pane.createDialog(null, "My Dialog");
46 dialog.setVisible(true);
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest4759934.java56 JDialog dialog = new JDialog(this.frame, "Dialog"); // NON-NLS: dialog title
57 dialog.setLocation(200, 0);
58 show(dialog, CMD_CHOOSER);
/openjdk7/jdk/test/java/awt/KeyboardFocusmanager/TypeAhead/ButtonActionKeyTest/
H A DButtonActionKeyTest.java129 It creates a dialog (with the instructions), and is the interface
141 static TestDialog dialog; field in class:Sysout
145 dialog = new TestDialog( new Frame(), "Instructions" );
146 dialog.printInstructions( instructions );
147 // dialog.setVisible(true);
153 dialog = new TestDialog( new Frame(), "Instructions" );
155 dialog.printInstructions( defInstr );
156 // dialog.setVisible(true);
163 dialog.printInstructions( instructions );
169 dialog
[all...]
/openjdk7/jdk/test/java/awt/KeyboardFocusmanager/TypeAhead/SubMenuShowTest/
H A DSubMenuShowTest.java142 It creates a dialog (with the instructions), and is the interface
154 static TestDialog dialog; field in class:Sysout
158 dialog = new TestDialog( new Frame(), "Instructions" );
159 dialog.printInstructions( instructions );
160 // dialog.setVisible(true);
166 dialog = new TestDialog( new Frame(), "Instructions" );
168 dialog.printInstructions( defInstr );
169 // dialog.setVisible(true);
176 dialog.printInstructions( instructions );
182 dialog
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJOptionPane.java61 * <code>JOptionPane</code> makes it easy to pop up a standard dialog box that
65 href="http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html">How to Make Dialogs</a>,
102 * flavor, which uses an internal frame to hold the dialog box (see
124 * The basic appearance of one of these dialog boxes is generally
138 * dialog box.
141 * parent for the dialog box, and its screen coordinates are used in
142 * the placement of the dialog box. In general, the dialog box is placed
145 * and the dialog will be
148 * A descriptive message to be placed in the dialog bo
972 initDialog(final JDialog dialog, int style, Component parentComponent) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DJobAttributes.java32 * destination, print dialog, file and printer names, page ranges, multiple
41 * has a public constructor. For example, to set the print dialog type to
42 * the cross-platform, pure Java print dialog, use the following code:
143 * specifying the cross-platform, pure Java print dialog.
148 * specifying the platform's native print dialog.
153 * specifying no print dialog.
247 private DialogType dialog; field in class:JobAttributes
262 * values for every attribute. The dialog defaults to
303 * @param dialog <code>DialogType.COMMON</code>,
336 DestinationType destination, DialogType dialog,
335 JobAttributes(int copies, DefaultSelectionType defaultSelection, DestinationType destination, DialogType dialog, String fileName, int maxPage, int minPage, MultipleDocumentHandlingType multipleDocumentHandling, int[][] pageRanges, String printer, SidesType sides) argument
520 setDialog(DialogType dialog) argument
[all...]
/openjdk7/jdk/test/java/awt/Focus/AutoRequestFocusTest/
H A DAutoRequestFocusToFrontTest.java53 static Dialog dialog; field in class:AutoRequestFocusToFrontTest
94 dialog.dispose();
113 dialog = new Dialog((Frame)null, "Test Dialog");
139 dialog.setBounds(120, 120, 260, 260);
140 dialog.add(dlgButton);
174 Test.setWindows(dialog, null, null);
446 It creates a dialog (with the instructions), and is the interface
458 static TestDialog dialog; field in class:Sysout
462 dialog = new TestDialog( new Frame(), "Instructions" );
463 dialog
[all...]
/openjdk7/jdk/test/com/sun/awt/Translucency/
H A DWindowOpacity.java336 It creates a dialog (with the instructions), and is the interface
348 private static TestDialog dialog; field in class:Sysout
352 dialog = new TestDialog( new Frame(), "Instructions" );
353 dialog.printInstructions( instructions );
354 dialog.setVisible(true);
360 dialog = new TestDialog( new Frame(), "Instructions" );
362 dialog.printInstructions( defInstr );
363 dialog.setVisible(true);
370 dialog.printInstructions( instructions );
376 dialog
[all...]
/openjdk7/jdk/test/java/awt/Container/isRemoveNotifyNeeded/
H A DJInternalFrameTest.java308 It creates a dialog (with the instructions), and is the interface
320 private static TestDialog dialog; field in class:Sysout
324 dialog = new TestDialog( new Frame(), "Instructions" );
325 dialog.printInstructions( instructions );
326 dialog.setVisible(true);
332 dialog = new TestDialog( new Frame(), "Instructions" );
334 dialog.printInstructions( defInstr );
335 dialog.setVisible(true);
342 dialog.printInstructions( instructions );
348 dialog
[all...]
/openjdk7/jdk/test/java/awt/Dialog/NonResizableDialogSysMenuResize/
H A DNonResizableDialogSysMenuResize.java85 // To be sure both the frame and the dialog are shown and packed
89 // The initial dialog position and size.
93 System.out.println("The initial position of the dialog is: " + loc1 + "; the size is: " + dim1);
121 // The dialog position and size after trying to change its size.
125 System.out.println("AFTER RESIZE: The position of the dialog is: " + loc2 + "; the size is: " + dim2);
130 fail("The non-resizable dialog has changed its size and/or location.");
310 It creates a dialog (with the instructions), and is the interface
322 private static TestDialog dialog; field in class:Sysout
326 dialog = new TestDialog( new Frame(), "Instructions" );
327 dialog
[all...]
/openjdk7/jdk/test/java/awt/Focus/InputVerifierTest3/
H A DInputVerifierTest3.java260 It creates a dialog (with the instructions), and is the interface
272 private static TestDialog dialog; field in class:Sysout
276 dialog = new TestDialog( new Frame(), "Instructions" );
277 dialog.printInstructions( instructions );
278 dialog.setVisible(true);
284 dialog = new TestDialog( new Frame(), "Instructions" );
286 dialog.printInstructions( defInstr );
287 dialog.setVisible(true);
294 dialog.printInstructions( instructions );
300 dialog
[all...]
/openjdk7/jdk/test/java/awt/Focus/RequestOnCompWithNullParent/
H A DRequestOnCompWithNullParent1.java293 It creates a dialog (with the instructions), and is the interface
305 private static TestDialog dialog; field in class:Sysout
309 dialog = new TestDialog( new Frame(), "Instructions" );
310 dialog.printInstructions( instructions );
311 dialog.setVisible(true);
317 dialog = new TestDialog( new Frame(), "Instructions" );
319 dialog.printInstructions( defInstr );
320 dialog.setVisible(true);
327 dialog.printInstructions( instructions );
333 dialog
[all...]
/openjdk7/jdk/test/java/awt/Frame/DynamicLayout/
H A DDynamicLayout.java309 It creates a dialog (with the instructions), and is the interface
321 private static TestDialog dialog; field in class:Sysout
325 dialog = new TestDialog( new Frame(), "Instructions" );
326 dialog.printInstructions( instructions );
327 dialog.setVisible(true);
333 dialog = new TestDialog( new Frame(), "Instructions" );
335 dialog.printInstructions( defInstr );
336 dialog.setVisible(true);
343 dialog.printInstructions( instructions );
349 dialog
[all...]
/openjdk7/jdk/test/java/awt/Frame/LayoutOnMaximizeTest/
H A DLayoutOnMaximizeTest.java342 It creates a dialog (with the instructions), and is the interface
354 private static TestDialog dialog; field in class:Sysout
358 dialog = new TestDialog( new Frame(), "Instructions" );
359 dialog.printInstructions( instructions );
360 dialog.setVisible(true);
366 dialog = new TestDialog( new Frame(), "Instructions" );
368 dialog.printInstructions( defInstr );
369 dialog.setVisible(true);
376 dialog.printInstructions( instructions );
382 dialog
[all...]
/openjdk7/jdk/test/java/awt/Frame/MaximizedToIconified/
H A DMaximizedToIconified.java307 It creates a dialog (with the instructions), and is the interface
319 private static TestDialog dialog; field in class:Sysout
323 dialog = new TestDialog( new Frame(), "Instructions" );
324 dialog.printInstructions( instructions );
325 dialog.setVisible(true);
331 dialog = new TestDialog( new Frame(), "Instructions" );
333 dialog.printInstructions( defInstr );
334 dialog.setVisible(true);
341 dialog.printInstructions( instructions );
347 dialog
[all...]
/openjdk7/jdk/test/java/awt/KeyboardFocusmanager/TypeAhead/
H A DTestDialogTypeAhead.java27 @summary Tests that type-ahead for dialog works and doesn't block program
97 d = new Dialog(f, "dialog", true);
306 It creates a dialog (with the instructions), and is the interface
318 private static TestDialog dialog; field in class:Sysout
322 dialog = new TestDialog( new Frame(), "Instructions" );
323 dialog.printInstructions( instructions );
324 dialog.setVisible(true);
330 dialog = new TestDialog( new Frame(), "Instructions" );
332 dialog.printInstructions( defInstr );
333 dialog
[all...]
/openjdk7/jdk/test/java/awt/List/SetBackgroundTest/
H A DSetBackgroundTest.java327 It creates a dialog (with the instructions), and is the interface
339 private static TestDialog dialog; field in class:Sysout
343 dialog = new TestDialog( new Frame(), "Instructions" );
344 dialog.printInstructions( instructions );
345 dialog.setVisible(true);
351 dialog = new TestDialog( new Frame(), "Instructions" );
353 dialog.printInstructions( defInstr );
354 dialog.setVisible(true);
361 dialog.printInstructions( instructions );
367 dialog
[all...]
/openjdk7/jdk/test/java/awt/Menu/OpensWithNoGrab/
H A DOpensWithNoGrab.java302 It creates a dialog (with the instructions), and is the interface
314 private static TestDialog dialog; field in class:Sysout
318 dialog = new TestDialog( new Frame(), "Instructions" );
319 dialog.printInstructions( instructions );
320 dialog.setVisible(true);
326 dialog = new TestDialog( new Frame(), "Instructions" );
328 dialog.printInstructions( defInstr );
329 dialog.setVisible(true);
336 dialog.printInstructions( instructions );
342 dialog
[all...]
/openjdk7/jdk/test/java/awt/Mixing/
H A DHWDisappear.java300 It creates a dialog (with the instructions), and is the interface
312 private static TestDialog dialog; field in class:Sysout
316 dialog = new TestDialog( new Frame(), "Instructions" );
317 dialog.printInstructions( instructions );
318 dialog.setVisible(true);
324 dialog = new TestDialog( new Frame(), "Instructions" );
326 dialog.printInstructions( defInstr );
327 dialog.setVisible(true);
334 dialog.printInstructions( instructions );
340 dialog
[all...]
H A DJButtonInGlassPane.java302 It creates a dialog (with the instructions), and is the interface
314 private static TestDialog dialog; field in class:Sysout
318 dialog = new TestDialog( new Frame(), "Instructions" );
319 dialog.printInstructions( instructions );
320 dialog.setVisible(true);
326 dialog = new TestDialog( new Frame(), "Instructions" );
328 dialog.printInstructions( defInstr );
329 dialog.setVisible(true);
336 dialog.printInstructions( instructions );
342 dialog
[all...]
H A DLWPopupMenu.java304 It creates a dialog (with the instructions), and is the interface
316 private static TestDialog dialog; field in class:Sysout
320 dialog = new TestDialog( new Frame(), "Instructions" );
321 dialog.printInstructions( instructions );
322 dialog.setVisible(true);
328 dialog = new TestDialog( new Frame(), "Instructions" );
330 dialog.printInstructions( defInstr );
331 dialog.setVisible(true);
338 dialog.printInstructions( instructions );
344 dialog
[all...]
H A DNonOpaqueInternalFrame.java306 It creates a dialog (with the instructions), and is the interface
318 private static TestDialog dialog; field in class:Sysout
322 dialog = new TestDialog( new Frame(), "Instructions" );
323 dialog.printInstructions( instructions );
324 dialog.setVisible(true);
330 dialog = new TestDialog( new Frame(), "Instructions" );
332 dialog.printInstructions( defInstr );
333 dialog.setVisible(true);
340 dialog.printInstructions( instructions );
346 dialog
[all...]
H A DOpaqueTest.java325 It creates a dialog (with the instructions), and is the interface
337 private static TestDialog dialog; field in class:Sysout
341 dialog = new TestDialog( new Frame(), "Instructions" );
342 dialog.printInstructions( instructions );
343 dialog.setVisible(true);
349 dialog = new TestDialog( new Frame(), "Instructions" );
351 dialog.printInstructions( defInstr );
352 dialog.setVisible(true);
359 dialog.printInstructions( instructions );
365 dialog
[all...]
H A DOverlappingButtons.java313 It creates a dialog (with the instructions), and is the interface
325 private static TestDialog dialog; field in class:Sysout
329 dialog = new TestDialog( new Frame(), "Instructions" );
330 dialog.printInstructions( instructions );
331 dialog.setVisible(true);
337 dialog = new TestDialog( new Frame(), "Instructions" );
339 dialog.printInstructions( defInstr );
340 dialog.setVisible(true);
347 dialog.printInstructions( instructions );
353 dialog
[all...]
/openjdk7/jdk/test/java/awt/PrintJob/ConstrainedPrintingTest/
H A DConstrainedPrintingTest.java131 "2.Press \"Print\" button. The print dialog will appear. Select",
231 It creates a dialog (with the instructions), and is the interface
243 private static TestDialog dialog; field in class:Sysout
247 dialog = new TestDialog( new Frame(), "Instructions" );
248 dialog.printInstructions( instructions );
249 dialog.show();
255 dialog = new TestDialog( new Frame(), "Instructions" );
257 dialog.printInstructions( defInstr );
258 dialog.show();
265 dialog
[all...]

Completed in 1649 milliseconds

123456