|
|
@ -76,7 +76,7 @@ public class UIMenuTableUI extends UITableUI{ |
|
|
|
public void mousePressed(MouseEvent e) { |
|
|
|
public void mousePressed(MouseEvent e) { |
|
|
|
if (e.getX() >= table.getWidth() - 20) { |
|
|
|
if (e.getX() >= table.getWidth() - 20) { |
|
|
|
int val = FineJOptionPane.showConfirmDialog(DesignerContext.getDesignerFrame(), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Utils_Are_You_Sure_To_Remove_The_Selected_Item") + "?", |
|
|
|
int val = FineJOptionPane.showConfirmDialog(DesignerContext.getDesignerFrame(), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Utils_Are_You_Sure_To_Remove_The_Selected_Item") + "?", |
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Remove"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE); |
|
|
|
com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Dialog_Prompt"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE); |
|
|
|
if (val == JOptionPane.OK_OPTION) { |
|
|
|
if (val == JOptionPane.OK_OPTION) { |
|
|
|
uiTable.removeLine(table.rowAtPoint(e.getPoint())); |
|
|
|
uiTable.removeLine(table.rowAtPoint(e.getPoint())); |
|
|
|
uiTable.fireTargetChanged(); |
|
|
|
uiTable.fireTargetChanged(); |
|
|
|