|
|
|
@ -279,7 +279,7 @@ public class VcsMovePanel extends BasicPane {
|
|
|
|
|
BasicDialog dlg = choosePane.showMediumWindow(SwingUtilities.getWindowAncestor(VcsMovePanel.this), new DialogActionAdapter() { |
|
|
|
|
@Override |
|
|
|
|
public void doOk() { |
|
|
|
|
createConfirmPane(VcsMovePanel.this); |
|
|
|
|
createConfirmPane(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
dlg.setVisible(true); |
|
|
|
@ -287,7 +287,7 @@ public class VcsMovePanel extends BasicPane {
|
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void createConfirmPane(Component parent) { |
|
|
|
|
private void createConfirmPane() { |
|
|
|
|
VerticalFlowLayout layout = new VerticalFlowLayout(VerticalFlowLayout.TOP); |
|
|
|
|
layout.setAlignLeft(true); |
|
|
|
|
JPanel panel = new JPanel(); |
|
|
|
@ -302,7 +302,7 @@ public class VcsMovePanel extends BasicPane {
|
|
|
|
|
panel.add(titleLabel); |
|
|
|
|
panel.add(firstLabel); |
|
|
|
|
panel.add(secondLabel); |
|
|
|
|
int value = FineJOptionPane.showConfirmDialog(parent, panel, Toolkit.i18nText("Fine-Design_Vcs_Move_Title"), JOptionPane.YES_NO_OPTION); |
|
|
|
|
int value = FineJOptionPane.showConfirmDialog(DesignerContext.getDesignerFrame(), panel, Toolkit.i18nText("Fine-Design_Vcs_Move_Title"), JOptionPane.YES_NO_OPTION); |
|
|
|
|
processMove(value); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|