-
- // frame = new JInternalFrame();
- // frame.setContentPane(this);
- // frame.setLayer(JLayeredPane.PALETTE_LAYER);
- // Desktop.addInternalFrame(frame, "Export Settings", width, height);
-
- JOptionPane pane = new JOptionPane(null, JOptionPane.DEFAULT_OPTION,
- JOptionPane.DEFAULT_OPTION, null, new Object[]
- { this });
- dialog = pane.createDialog(Desktop.desktop, "Export Settings");
-
- // dialog = new JDialog(Desktop.instance, true);
- // dialog.setTitle("Export Settings");
-
- dialog.pack();
- dialog.setVisible(true);
-
- dialog.setContentPane(this);
- dialog.validate();
-
+ if (isShowDialog())
+ {
+ JOptionPane pane = new JOptionPane(null, JOptionPane.DEFAULT_OPTION,
+ JOptionPane.DEFAULT_OPTION, null, new Object[]
+ { this });
+ dialog = pane.createDialog(Desktop.desktop, "Export Settings");
+ dialog.pack();
+ dialog.setVisible(true);
+ dialog.setContentPane(this);
+ dialog.validate();
+ }