Method showMessageDialog(Component parentComponent, Object message)
Return type: void
Member of: javax.swing.JOptionPane
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 JOptionPane.showMessageDialog(this, "You clicked the home button");
2 JOptionPane.showMessageDialog(this, "Updatable Resultset was not recieved");
3 JOptionPane.showMessageDialog(this, "I just wanted to let you know that you can extend the JRViewer to customize it.\n The button you have pushed was added this way.");
4 catch (ClassCastException cce){JOptionPane.showMessageDialog(this,"A literal cannot be the subject of a statement.");}
5 JOptionPane.showMessageDialog(this, "All done");
6 JOptionPane.showMessageDialog(this,"ÀÔ·ÂÇϽŠ±Û²ÃÀº Á¸ÀçÇÏÁö ¾Ê½À´Ï´Ù.");
7 JOptionPane.showMessageDialog(this, "Address in use by another throttle.");
8 javax.swing.JOptionPane.showMessageDialog(this,"You must specify the subject, predicate and object of the new statement");
9 JOptionPane.showMessageDialog(this,"±ÛÀÚÅ©±â´Â 9~16 »çÀ̾î¾ß ÇÕ´Ï´Ù.");
10 JOptionPane.showMessageDialog(this, "Please specify correct values");
11 JOptionPane.showMessageDialog(this, message);
12 JOptionPane.showMessageDialog(this, "Post not allowed, the sequence will be terminated\n"+details);
13 (this, Messages.formatMessage("script.alert",
14 JOptionPane.showMessageDialog(this,
15 JOptionPane.showMessageDialog(this, BasicUtilities.getString("Batch_Selection_Missing"));
16 JOptionPane.showMessageDialog(this,
17 JOptionPane.showMessageDialog(this, project.getName() + ": " + ErrorCode.ALREADY_LOCKED);
18 JOptionPane.showMessageDialog(this, errorPanel);
19 JOptionPane.showMessageDialog(null,
20 JOptionPane.showMessageDialog(null,
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.