(Component frame, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue, ActionListener a)
| 118 | } |
| 119 | |
| 120 | public void showOptionDialog(Component frame, Object message, String title, int optionType, int messageType, |
| 121 | Icon icon, Object[] options, Object initialValue, ActionListener a) { |
| 122 | actionListener = a; |
| 123 | this.options = options; |
| 124 | setListener(a); |
| 125 | process(JOptionPane.showOptionDialog(frame, message, title, optionType, messageType, icon, options, |
| 126 | initialValue)); |
| 127 | unsetListener(); |
| 128 | } |
| 129 | |
| 130 | public void showConfirmDialog(Component frame, Object message, String title, ActionListener a) { |
| 131 | showConfirmDialog(frame, message, title, JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, a); |
no test coverage detected