This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 255414
Collapse All | Expand All

(-)a/css.editor/src/org/netbeans/modules/css/refactoring/RenamePanel.java (-1 / +9 lines)
Lines 95-101 Link Here
95
    public @Override void requestFocus() {
95
    public @Override void requestFocus() {
96
        nameField.requestFocus();
96
        nameField.requestFocus();
97
    }
97
    }
98
    
98
99
    @Override
100
    public boolean requestFocusInWindow() {
101
      if(nameField.isEnabled()) {
102
        nameField.requestFocusInWindow();
103
      }
104
      return true;
105
    }
106
99
    /** This method is called from within the constructor to
107
    /** This method is called from within the constructor to
100
     * initialize the form.
108
     * initialize the form.
101
     * WARNING: Do NOT modify this code. The content of this method is
109
     * WARNING: Do NOT modify this code. The content of this method is
(-)a/css.prep/src/org/netbeans/modules/css/prep/editor/refactoring/RenamePanel.java (-1 / +9 lines)
Lines 98-104 Link Here
98
    public @Override void requestFocus() {
98
    public @Override void requestFocus() {
99
        nameField.requestFocus();
99
        nameField.requestFocus();
100
    }
100
    }
101
    
101
102
    @Override
103
    public boolean requestFocusInWindow() {
104
      if(nameField.isEnabled()) {
105
        nameField.requestFocusInWindow();
106
      }
107
      return true;
108
    }
109
102
    /** This method is called from within the constructor to
110
    /** This method is called from within the constructor to
103
     * initialize the form.
111
     * initialize the form.
104
     * WARNING: Do NOT modify this code. The content of this method is
112
     * WARNING: Do NOT modify this code. The content of this method is
(-)a/groovy.refactoring/src/org/netbeans/modules/groovy/refactoring/ui/RenamePanel.java (-1 / +9 lines)
Lines 114-120 Link Here
114
            textCheckBox.requestFocus();
114
            textCheckBox.requestFocus();
115
        }
115
        }
116
    }
116
    }
117
    
117
118
    @Override
119
    public boolean requestFocusInWindow() {
120
      if(nameField.isEnabled()) {
121
        nameField.requestFocusInWindow();
122
      }
123
      return true;
124
    }
125
118
    /** This method is called from within the constructor to
126
    /** This method is called from within the constructor to
119
     * initialize the form.
127
     * initialize the form.
120
     * WARNING: Do NOT modify this code. The content of this method is
128
     * WARNING: Do NOT modify this code. The content of this method is
(-)a/javascript.refactoring/src/org/netbeans/modules/refactoring/javascript/ui/RenamePanel.form (-1 / +1 lines)
Lines 1-4 Link Here
1
<?xml version="1.1" encoding="UTF-8" ?>
1
<?xml version="1.0" encoding="UTF-8" ?>
2
2
3
<Form version="1.2" maxVersion="1.2" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
3
<Form version="1.2" maxVersion="1.2" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
4
  <Properties>
4
  <Properties>
(-)a/javascript.refactoring/src/org/netbeans/modules/refactoring/javascript/ui/RenamePanel.java (-1 / +9 lines)
Lines 96-102 Link Here
96
    public @Override void requestFocus() {
96
    public @Override void requestFocus() {
97
        nameField.requestFocus();
97
        nameField.requestFocus();
98
    }
98
    }
99
    
99
100
    @Override
101
    public boolean requestFocusInWindow() {
102
      if(nameField.isEnabled()) {
103
        nameField.requestFocusInWindow();
104
      }
105
      return true;
106
    }
107
100
    /** This method is called from within the constructor to
108
    /** This method is called from within the constructor to
101
     * initialize the form.
109
     * initialize the form.
102
     * WARNING: Do NOT modify this code. The content of this method is
110
     * WARNING: Do NOT modify this code. The content of this method is
(-)a/languages.refactoring/src/org/netbeans/modules/languages/refactoring/RenamePanel.java (+6 lines)
Lines 95-100 Link Here
95
    public void requestFocus() {
95
    public void requestFocus() {
96
        nameField.requestFocus();
96
        nameField.requestFocus();
97
    }
97
    }
98
99
    @Override
100
    public boolean requestFocusInWindow() {
101
      nameField.requestFocusInWindow();
102
      return true;
103
    }
98
    
104
    
99
    /** This method is called from within the constructor to
105
    /** This method is called from within the constructor to
100
     * initialize the form.
106
     * initialize the form.
(-)a/php.refactoring/src/org/netbeans/modules/refactoring/php/rename/RenamePanel.java (+8 lines)
Lines 127-132 Link Here
127
        nameField.requestFocus();
127
        nameField.requestFocus();
128
    }
128
    }
129
129
130
    @Override
131
    public boolean requestFocusInWindow() {
132
      if(nameField.isEnabled()) {
133
        nameField.requestFocusInWindow();
134
      }
135
      return true;
136
    }
137
130
    /** This method is called from within the constructor to
138
    /** This method is called from within the constructor to
131
     * initialize the form.
139
     * initialize the form.
132
     * WARNING: Do NOT modify this code. The content of this method is
140
     * WARNING: Do NOT modify this code. The content of this method is
(-)a/projectui/src/org/netbeans/modules/project/ui/groups/GroupsMenu.java (-1 lines)
Lines 65-71 Link Here
65
import org.openide.util.RequestProcessor;
65
import org.openide.util.RequestProcessor;
66
import static org.netbeans.modules.project.ui.groups.Bundle.*;
66
import static org.netbeans.modules.project.ui.groups.Bundle.*;
67
import org.netbeans.modules.project.uiapi.BaseUtilities;
67
import org.netbeans.modules.project.uiapi.BaseUtilities;
68
import org.netbeans.modules.project.uiapi.Utilities;
69
import org.netbeans.spi.project.ui.support.ProjectCustomizer;
68
import org.netbeans.spi.project.ui.support.ProjectCustomizer;
70
import org.openide.util.Lookup;
69
import org.openide.util.Lookup;
71
import org.openide.util.lookup.Lookups;
70
import org.openide.util.lookup.Lookups;
(-)a/vmd.midp/src/org/netbeans/modules/vmd/midp/codegen/ui/RenamePanel.java (-1 / +7 lines)
Lines 107-113 Link Here
107
        nameField.requestFocus();
107
        nameField.requestFocus();
108
    }
108
    }
109
109
110
        public String getNameValue() {
110
    @Override
111
    public boolean requestFocusInWindow() {
112
      nameField.requestFocusInWindow();
113
      return true;
114
    }
115
116
    public String getNameValue() {
111
        return nameField.getText();
117
        return nameField.getText();
112
    }
118
    }
113
119
(-)a/web.common/src/org/netbeans/modules/web/common/refactoring/RenamePanel.java (+5 lines)
Lines 102-107 Link Here
102
        nameField.requestFocus();
102
        nameField.requestFocus();
103
    }
103
    }
104
104
105
    @Override
106
    public boolean requestFocusInWindow() {
107
      nameField.requestFocusInWindow();
108
      return true;
109
    }
105
    /** This method is called from within the constructor to
110
    /** This method is called from within the constructor to
106
     * initialize the form.
111
     * initialize the form.
107
     * WARNING: Do NOT modify this code. The content of this method is
112
     * WARNING: Do NOT modify this code. The content of this method is

Return to bug 255414