protected void prepareToShow() {
   updateReferenceName();
   super.prepareToShow();
 }
Пример #2
0
 /** Makes sure the OK button is disabled. */
 protected void prepareToShow() {
   super.prepareToShow();
   ((JTextField) initialFocusComponent).selectAll();
   getOKAction().setEnabled(virtualProperty.propertyAdapter != null);
 }