Searched refs:JOptionPane (Results 1 - 25 of 52) sorted by relevance

123

/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DOptionPaneUI.java28 import javax.swing.JOptionPane;
31 * Pluggable look and feel interface for JOptionPane.
42 public abstract void selectInitialValue(JOptionPane op);
48 public abstract boolean containsCustomComponents(JOptionPane op);
/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/resources/
H A Dgui.js156 * @param msgType type of message box [constants in JOptionPane]
161 var JOptionPane = javax.swing.JOptionPane;
165 if (msgType == undefined) type = JOptionPane.INFORMATION_MESSAGE;
166 JOptionPane.showMessageDialog(window, msg, title, msgType);
183 var JOptionPane = javax.swing.JOptionPane;
184 msgBox(msg, title, JOptionPane.INFORMATION_MESSAGE);
195 var JOptionPane = javax.swing.JOptionPane;
[all...]
/openjdk7/jdk/test/javax/swing/JOptionPane/7138665/
H A Dbug7138665.java26 @summary JOptionPane.getValue() unexpected change between JRE 1.6 and JRE 1.7
41 JOptionPane pane = new JOptionPane("Enter value", JOptionPane.QUESTION_MESSAGE,
42 JOptionPane.OK_CANCEL_OPTION, null, null, null);
50 if (result == null || ((Integer) result).intValue() != JOptionPane.OK_OPTION) {
/openjdk7/jdk/src/share/classes/com/sun/security/auth/callback/
H A DDialogCallbackHandler.java44 import javax.swing.JOptionPane;
115 confirmation.messageType = JOptionPane.INFORMATION_MESSAGE;
118 confirmation.messageType = JOptionPane.WARNING_MESSAGE;
121 confirmation.messageType = JOptionPane.ERROR_MESSAGE;
194 int result = JOptionPane.showOptionDialog(
205 if (result == JOptionPane.OK_OPTION
206 || result == JOptionPane.YES_OPTION)
224 int optionType = JOptionPane.OK_CANCEL_OPTION;
228 int messageType = JOptionPane.QUESTION_MESSAGE;
241 optionType = JOptionPane
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/FilterWindow/src/com/sun/hotspot/igv/filterwindow/actions/
H A DRemoveFilterAction.java29 import javax.swing.JOptionPane;
47 int n = JOptionPane.showOptionDialog(WindowManager.getDefault().getMainWindow(),
49 JOptionPane.YES_NO_CANCEL_OPTION,
50 JOptionPane.QUESTION_MESSAGE,
55 if (n == JOptionPane.YES_OPTION) {
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DThreadDialog.java51 JOptionPane pane = new JOptionPane(message, messageType);
/openjdk7/jdk/test/javax/swing/JOptionPane/6464022/
H A Dbug6464022.java27 * @summary Memory leak in JOptionPane.createDialog
40 private static JOptionPane pane;
47 pane = new JOptionPane(null, JOptionPane.UNDEFINED_CONDITION);
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DLaunchTool.java156 JOptionPane.showMessageDialog(dialog,
159 JOptionPane.ERROR_MESSAGE);
210 JOptionPane.showMessageDialog(dialog,
213 "No argument", JOptionPane.ERROR_MESSAGE);
217 JOptionPane.showMessageDialog(dialog,
221 "Bad argument", JOptionPane.ERROR_MESSAGE);
231 JOptionPane.showMessageDialog(dialog,
233 "Bad arguments", JOptionPane.ERROR_MESSAGE);
236 JOptionPane.showMessageDialog(dialog,
238 "Launch Failed",JOptionPane
[all...]
H A DJDBMenuBar.java141 Frame frame = JOptionPane.getRootFrame();
155 String expr = (String)JOptionPane.showInputDialog(null,
157 JOptionPane.QUESTION_MESSAGE, null, null, null);
165 String expr = (String)JOptionPane.showInputDialog(null,
167 JOptionPane.QUESTION_MESSAGE, null,
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicOptionPaneUI.java48 * Provides the basic look and feel for a <code>JOptionPane</code>.
88 * <code>JOptionPane</code> that the receiver is providing the
91 protected JOptionPane optionPane;
135 * <code>JOptionPane</code>.
138 optionPane = (JOptionPane)c;
258 * If <code>c</code> is the <code>JOptionPane</code> the receiver
261 * the <code>LayoutManager</code> for the <code>JOptionPane</code>, and
434 * Returns the message to display from the JOptionPane the receiver is
534 * Returns the icon from the JOptionPane the receiver is providing
741 * Returns the buttons to display from the JOptionPane th
[all...]
/openjdk7/jdk/src/share/demo/scripting/jconsole-plugin/src/resources/
H A Djconsole.js674 * @param msgType type of message box [constants in JOptionPane]
679 var JOptionPane = Packages.javax.swing.JOptionPane;
683 if (msgType == undefined) type = JOptionPane.INFORMATION_MESSAGE;
684 JOptionPane.showMessageDialog(window, msg, title, msgType);
701 var JOptionPane = Packages.javax.swing.JOptionPane;
702 msgBox(msg, title, JOptionPane.INFORMATION_MESSAGE);
713 var JOptionPane = Packages.javax.swing.JOptionPane;
[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
63 * For information about using <code>JOptionPane</code>, see
70 * While the <code>JOptionPane</code>
77 * <table border=1 summary="Common JOptionPane method names and their descriptions">
208 * If a <code>JOptionPane</code> has configured to all input
210 * the bound property <code>JOptionPane.INPUT_VALUE_PROPERTY</code>
227 * JOptionPane.showMessageDialog(null, "alert", "alert", JOptionPane.ERROR_MESSAGE);
231 * JOptionPane.showInternalMessageDialog(frame, "information",<br>
232 * <ul><ul>"information", JOptionPane
314 public class JOptionPane extends JComponent implements Accessible class in inherits:JComponent,Accessible
1706 public JOptionPane() { method in class:JOptionPane
1718 public JOptionPane(Object message) { method in class:JOptionPane
1734 public JOptionPane(Object message, int messageType) { method in class:JOptionPane
1754 public JOptionPane(Object message, int messageType, int optionType) { method in class:JOptionPane
1775 public JOptionPane(Object message, int messageType, int optionType, method in class:JOptionPane
1807 public JOptionPane(Object message, int messageType, int optionType, method in class:JOptionPane
1835 public JOptionPane(Object message, int messageType, int optionType, method in class:JOptionPane
[all...]
/openjdk7/langtools/test/tools/javac/api/evalexpr/
H A DCompileFromString.java28 import javax.swing.JOptionPane;
113 expression = JOptionPane.showInputDialog("Please enter a Java expression",
/openjdk7/langtools/make/tools/SelectTool/
H A DSelectToolTask.java51 import javax.swing.JOptionPane;
132 JOptionPane p = createPane(guiProps);
149 JOptionPane createPane(final Properties props) {
204 final JOptionPane p = new JOptionPane(body);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/multi/
H A DMultiOptionPaneUI.java29 import javax.swing.JOptionPane;
73 public void selectInitialValue(JOptionPane a) {
85 public boolean containsCustomComponents(JOptionPane a) {
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/
H A DJ2DBench.java62 import javax.swing.JOptionPane;
527 int ret = JOptionPane.showOptionDialog
535 JOptionPane.DEFAULT_OPTION,
536 JOptionPane.WARNING_MESSAGE,
572 int ret = JOptionPane.showConfirmDialog
578 JOptionPane.YES_NO_CANCEL_OPTION);
579 if (ret == JOptionPane.CANCEL_OPTION) {
581 } else if (ret == JOptionPane.YES_OPTION) {
593 return JOptionPane.showInputDialog("Enter a "+
615 ret = JOptionPane
[all...]
/openjdk7/jdk/test/java/awt/Modal/LWModalTest/
H A DLWModalTest.java29 to JOptionPane.showInternal*Dialog methods
65 JOptionPane p = new JOptionPane("Message");
/openjdk7/jdk/test/javax/swing/JSlider/6587742/
H A Dbug6587742.java65 JOptionPane.showMessageDialog(TestPanel.this, "Can't change theme: " + e1.getMessage(),
66 "Error", JOptionPane.ERROR_MESSAGE);
/openjdk7/jdk/src/share/classes/sun/swing/
H A DPrintingStatus.java109 // prepare the status JOptionPane
141 JOptionPane abortPane = new JOptionPane(statusLabel,
142 JOptionPane.INFORMATION_MESSAGE,
143 JOptionPane.DEFAULT_OPTION,
/openjdk7/jdk/src/share/demo/jfc/TableExample/
H A DTableExample.java47 * the JOptionPane. Use of modal dialogs requires JDK 1.1.4 or greater.
69 import javax.swing.JOptionPane;
106 * Brigs up a JDialog using JOptionPane containing the connectionPanel.
110 if (JOptionPane.showOptionDialog(tableAggregate, connectionPanel,
112 JOptionPane.DEFAULT_OPTION, JOptionPane.INFORMATION_MESSAGE,
/openjdk7/langtools/test/tools/javac/api/
H A DTestEvalExpression.java35 import javax.swing.JOptionPane;
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DVMPanel.java78 private JOptionPane optionPane;
371 JOptionPane.DEFAULT_OPTION,
372 JOptionPane.INFORMATION_MESSAGE, null,
463 JOptionPane optionPane;
485 JOptionPane.DEFAULT_OPTION,
486 JOptionPane.WARNING_MESSAGE, null,
493 if (event.getPropertyName().equals(JOptionPane.VALUE_PROPERTY)) {
H A DSheetDialog.java36 import static javax.swing.JOptionPane.*;
50 static JOptionPane showOptionDialog(final VMPanel vmPanel, Object message,
66 // Workaround for the fact that JOptionPane does not handle
224 static class SheetOptionPane extends JOptionPane {
/openjdk7/jdk/test/java/awt/Modal/ModalInternalFrameTest/
H A DModalInternalFrameTest.java89 JOptionPane.showInternalMessageDialog(pane1, "Dialog1");
112 JOptionPane.showInternalMessageDialog(pane2, "Dialog2");
/openjdk7/jdk/test/javax/swing/KeyboardManager/8013370/
H A DTest8013370.java39 import static javax.swing.JOptionPane.showMessageDialog;

Completed in 100 milliseconds

123