cancelButton.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(CommitAction.class, "ACSD_Commit_Action_Cancel"));
commitButton.setEnabled(false);
dd.setOptions(new Object[]{commitButton, cancelButton});
dd.setHelpCtx(new HelpCtx(CommitAction.class));
panel.addVersioningListener(new VersioningListener() {
public void versioningEvent(VersioningEvent event) {
refreshCommitDialog(panel, data, commitButton);
}
});