protected void prepareToShow() {
   updateReferenceName();
   super.prepareToShow();
 }
Exemplo n.º 2
0
 /** Makes sure the OK button is disabled. */
 protected void prepareToShow() {
   super.prepareToShow();
   ((JTextField) initialFocusComponent).selectAll();
   getOKAction().setEnabled(virtualProperty.propertyAdapter != null);
 }