Swing: Difference between revisions
| Line 8: | Line 8: | ||
JOptionPane.showMessageDialog(<Parent>, <Text>); | JOptionPane.showMessageDialog(<Parent>, <Text>); | ||
int i = JOptionPane.showConfirmDialog(<Parent>, <Text>, <Title>, JOptionPane.<Option>); | |||
| Line 8: | Line 8: | ||
JOptionPane.showMessageDialog(<Parent>, <Text>); | JOptionPane.showMessageDialog(<Parent>, <Text>); | ||
int i = JOptionPane.showConfirmDialog(<Parent>, <Text>, <Title>, JOptionPane.<Option>); | |||