/** {@inheritDoc} */ public void toBeDisplayed(boolean visible) { super.toBeDisplayed(visible); Window w = Utilities.getParentDialog(this); if (w instanceof GenericDialog) { ((GenericDialog) w).getRootPane().setDefaultButton(null); } else if (w instanceof GenericFrame) { ((GenericFrame) w).getRootPane().setDefaultButton(null); } }
/** {@inheritDoc} */ public void setInfo(ControlPanelInfo info) { super.setInfo(info); treePane.setInfo(info); entryPane.setInfo(info); info.addIndexModifiedListener(this); }
/** {@inheritDoc} */ public void closeClicked() { super.closeClicked(); }