Lines Matching defs:JOptionPane

61  * <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.INFORMATION_MESSAGE);</ul></ul>
235 * <dd><code>JOptionPane.showConfirmDialog(null,
236 * <ul><ul>"choose one", "choose one", JOptionPane.YES_NO_OPTION);</ul></ul>
240 * <dd><code>JOptionPane.showInternalConfirmDialog(frame,
242 * <ul><ul>JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.INFORMATION_MESSAGE);</ul></ul>
248 * JOptionPane.showOptionDialog(null, "Click OK to continue", "Warning",
249 * <ul><ul>JOptionPane.DEFAULT_OPTION, JOptionPane.WARNING_MESSAGE,</ul></ul>
254 * String inputValue = JOptionPane.showInputDialog("Please input a value");
259 * Object selectedValue = JOptionPane.showInputDialog(null,
261 * <ul><ul>JOptionPane.INFORMATION_MESSAGE, null,</ul></ul>
266 * To create and use an <code>JOptionPane</code> directly, the
269 * JOptionPane pane = new JOptionPane(<i>arguments</i>);
314 public class JOptionPane extends JComponent implements Accessible
333 * use the options from the <code>JOptionPane</code>.
569 JOptionPane pane = new JOptionPane(message, messageType,
858 JOptionPane pane = new JOptionPane(message, messageType,
903 * <code>JOptionPane.UNINITIALIZED_VALUE</code> to ensure the
933 * <code>JOptionPane.UNINITIALIZED_VALUE</code> to ensure the
957 Window window = JOptionPane.getWindowForComponent(parentComponent);
995 if (dialog.isVisible() && event.getSource() == JOptionPane.this &&
998 event.getNewValue() != JOptionPane.UNINITIALIZED_VALUE) {
1028 setValue(JOptionPane.UNINITIALIZED_VALUE);
1277 JOptionPane pane = new JOptionPane(message, messageType,
1419 JOptionPane pane = new JOptionPane(message, messageType,
1487 * and wrapping the <code>JOptionPane</code>.
1500 * <code>JOptionPane</code>
1507 JOptionPane.getDesktopPaneForComponent(parentComponent);
1511 throw new RuntimeException("JOptionPane: parentComponent does " +
1536 event.getSource() == JOptionPane.this &&
1616 return JOptionPane.getFrameForComponent(parentComponent.getParent());
1641 return JOptionPane.getWindowForComponent(parentComponent.getParent());
1663 private static final Object sharedFrameKey = JOptionPane.class;
1704 * Creates a <code>JOptionPane</code> with a test message.
1706 public JOptionPane() {
1707 this("JOptionPane message");
1711 * Creates a instance of <code>JOptionPane</code> to display a
1718 public JOptionPane(Object message) {
1723 * Creates an instance of <code>JOptionPane</code> to display a message
1734 public JOptionPane(Object message, int messageType) {
1739 * Creates an instance of <code>JOptionPane</code> to display a message
1754 public JOptionPane(Object message, int messageType, int optionType) {
1759 * Creates an instance of <code>JOptionPane</code> to display a message
1775 public JOptionPane(Object message, int messageType, int optionType,
1781 * Creates an instance of <code>JOptionPane</code> to display a message
1790 * in the created <code>JOptionPane</code>.
1807 public JOptionPane(Object message, int messageType, int optionType,
1813 * Creates an instance of <code>JOptionPane</code> to display a message
1835 public JOptionPane(Object message, int messageType, int optionType,
2083 throw new RuntimeException("JOptionPane: type must be one of JOptionPane.ERROR_MESSAGE, JOptionPane.INFORMATION_MESSAGE, JOptionPane.WARNING_MESSAGE, JOptionPane.QUESTION_MESSAGE or JOptionPane.PLAIN_MESSAGE");
2124 throw new RuntimeException("JOptionPane: option type must be one of JOptionPane.DEFAULT_OPTION, JOptionPane.YES_NO_OPTION, JOptionPane.YES_NO_CANCEL_OPTION or JOptionPane.OK_CANCEL_OPTION");
2465 * Returns a string representation of this <code>JOptionPane</code>.
2472 * @return a string representation of this <code>JOptionPane</code>
2547 * Returns the <code>AccessibleContext</code> associated with this JOptionPane.
2567 * <code>JOptionPane</code> class. It provides an implementation of the