|
|
@ -221,7 +221,7 @@ public class XCardSwitchButton extends XButton { |
|
|
|
private void deleteCard(XCardSwitchButton button, int index){ |
|
|
|
private void deleteCard(XCardSwitchButton button, int index){ |
|
|
|
String titleName = button.getContentLabel().getText(); |
|
|
|
String titleName = button.getContentLabel().getText(); |
|
|
|
int value = FineJOptionPane.showConfirmDialog(null, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Confirm_Dialog_Content") + "“" + titleName + "”", |
|
|
|
int value = FineJOptionPane.showConfirmDialog(null, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Confirm_Dialog_Content") + "“" + titleName + "”", |
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Confirm"), JOptionPane.YES_NO_OPTION); |
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Dialog_Prompt"), JOptionPane.YES_NO_OPTION); |
|
|
|
if (value != JOptionPane.OK_OPTION) { |
|
|
|
if (value != JOptionPane.OK_OPTION) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
@ -402,7 +402,7 @@ public class XCardSwitchButton extends XButton { |
|
|
|
private void deleteTabLayout(SelectionModel selectionModel, FormDesigner designer){ |
|
|
|
private void deleteTabLayout(SelectionModel selectionModel, FormDesigner designer){ |
|
|
|
String titleName = this.getContentLabel().getText(); |
|
|
|
String titleName = this.getContentLabel().getText(); |
|
|
|
int value = FineJOptionPane.showConfirmDialog(null, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Confirm_Dialog_Content") + "“" + titleName + "”", |
|
|
|
int value = FineJOptionPane.showConfirmDialog(null, com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Confirm_Dialog_Content") + "“" + titleName + "”", |
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Confirm"), JOptionPane.YES_NO_OPTION); |
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Dialog_Prompt"), JOptionPane.YES_NO_OPTION); |
|
|
|
if (value != JOptionPane.OK_OPTION) { |
|
|
|
if (value != JOptionPane.OK_OPTION) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|