|
|
@ -409,7 +409,7 @@ public class CommitTabbedPane extends JComponent implements MouseListener, Mous |
|
|
|
selectedIndex = dbManipulationPaneList.size()-1; |
|
|
|
selectedIndex = dbManipulationPaneList.size()-1; |
|
|
|
commit2DBJavaScriptPane.updateCardPane(); |
|
|
|
commit2DBJavaScriptPane.updateCardPane(); |
|
|
|
} else if (isOverCloseIcon(x)){ |
|
|
|
} else if (isOverCloseIcon(x)){ |
|
|
|
int re = FineJOptionPane.showConfirmDialog(SwingUtilities.getWindowAncestor(this), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_CommitTab_Sure_To_Delete")+ "?", com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_CommitTab_Remove") |
|
|
|
int re = FineJOptionPane.showConfirmDialog(SwingUtilities.getWindowAncestor(this), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_CommitTab_Sure_To_Delete")+ "?", com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Tool_Tips") |
|
|
|
, JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); |
|
|
|
, JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); |
|
|
|
if (re == JOptionPane.OK_OPTION) { |
|
|
|
if (re == JOptionPane.OK_OPTION) { |
|
|
|
dbManipulationPaneList.remove(getTabIndex(x)); |
|
|
|
dbManipulationPaneList.remove(getTabIndex(x)); |
|
|
|