addColumnUI.setup(mode);
addColumnUI.setOkButton(okButton);
DialogDescriptor dd = new DialogDescriptor(AddColumnUI.createValidationPanel(addColumnUI), addColumnUI.getDisplayName());
dd.setOptions(new Object[]{okButton, DialogDescriptor.CANCEL_OPTION});
if (DialogDisplayer.getDefault().notify(dd).equals(okButton)) {
addColumnUI.execute();
}
addColumnUI.unSetup();
}
private void showMergeColumnsUI(MergeColumnsUI.Mode mode) {