|
|
|
@ -395,16 +395,11 @@ public class FineJOptionPane extends JOptionPane {
|
|
|
|
|
String title, int optionType, int messageType, |
|
|
|
|
Icon icon, Object[] options, Object initialValue, |
|
|
|
|
boolean isSuccessMessage) { |
|
|
|
|
FineJOptionPane pane = new FineJOptionPane(message, messageType, |
|
|
|
|
optionType, icon, |
|
|
|
|
options, initialValue, isSuccessMessage); |
|
|
|
|
|
|
|
|
|
FineJOptionPane pane = new FineJOptionPane(message, messageType, optionType, icon, options, initialValue, isSuccessMessage); |
|
|
|
|
pane.setInitialValue(initialValue); |
|
|
|
|
pane.setComponentOrientation(((parentComponent == null) ? |
|
|
|
|
getRootFrame() : parentComponent).getComponentOrientation()); |
|
|
|
|
pane.setComponentOrientation(((parentComponent == null) ? getRootFrame() : parentComponent).getComponentOrientation()); |
|
|
|
|
|
|
|
|
|
JDialog dialog = pane.createDialog(parentComponent, title); |
|
|
|
|
|
|
|
|
|
pane.selectInitialValue(); |
|
|
|
|
dialog.show(); |
|
|
|
|
dialog.dispose(); |
|
|
|
|