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 31379
Collapse All | Expand All

(-)file_not_specified_in_diff (-20 / +20 lines)
Line  Link Here
    </Property>
1
    <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
2
      <Dimension value="[550, 350]"/>
    </Property>
3
    </Property>
1
  </Properties>
4
  </Properties>
2
  <SyntheticProperties>
5
  <AuxValues>
3
    <SyntheticProperty name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
6
    <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
4
  </SyntheticProperties>
7
  </AuxValues>
5
8
6
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
9
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
7
  <SubComponents>
10
  <SubComponents>
Lines 32-43 Link Here
32
      <SubComponents>
32
      <SubComponents>
33
        <Component class="javax.swing.JLabel" name="lblLocation">
33
        <Component class="javax.swing.JLabel" name="lblLocation">
34
          <Properties>
34
          <Properties>
35
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
36
              <ResourceString bundle="org/netbeans/core/upgrade/Bundle.properties" key="LBL_lblLocation" replaceFormat="bundle.getString(&quot;{key}&quot;)"/>
37
            </Property>
38
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
35
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
39
              <Connection component="txtLocation" type="bean"/>
36
              <Connection component="txtLocation" type="bean"/>
40
            </Property>
37
            </Property>
38
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
39
              <ResourceString bundle="org/netbeans/core/upgrade/Bundle.properties" key="LBL_lblLocation" replaceFormat="bundle.getString(&quot;{key}&quot;)"/>
40
            </Property>
41
            <Property name="horizontalTextPosition" type="int" value="2"/>
41
            <Property name="horizontalTextPosition" type="int" value="2"/>
42
          </Properties>
42
          </Properties>
43
          <Constraints>
43
          <Constraints>
Lines 48-63 Link Here
48
        </Component>
48
        </Component>
49
        <Component class="javax.swing.JTextField" name="txtLocation">
49
        <Component class="javax.swing.JTextField" name="txtLocation">
50
          <Properties>
50
          <Properties>
51
            <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
52
              <Color blue="0" green="0" id="black" palette="0" red="0" type="palette"/>
53
            </Property>
54
            <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
51
            <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
55
              <Border info="org.netbeans.modules.form.compat2.border.EtchedBorderInfo">
52
              <Border info="org.netbeans.modules.form.compat2.border.EtchedBorderInfo">
56
                <EtchetBorder/>
53
                <EtchetBorder/>
57
              </Border>
54
              </Border>
58
            </Property>
55
            </Property>
56
            <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
57
              <Color blue="0" green="0" id="black" palette="0" red="0" type="palette"/>
58
            </Property>
59
          </Properties>
59
          </Properties>
60
61
          <Events>
60
          <Events>
62
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtLocationActionPerformed"/>
61
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="txtLocationActionPerformed"/>
63
            <EventHandler event="keyTyped" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="txtLocationKeyTyped"/>
62
            <EventHandler event="keyTyped" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="txtLocationKeyTyped"/>
Lines 74-80 Link Here
74
              <ResourceString bundle="org/netbeans/core/upgrade/Bundle.properties" key="LBL_cmdSelectDir" replaceFormat="bundle.getString(&quot;{key}&quot;)"/>
73
              <ResourceString bundle="org/netbeans/core/upgrade/Bundle.properties" key="LBL_cmdSelectDir" replaceFormat="bundle.getString(&quot;{key}&quot;)"/>
75
            </Property>
74
            </Property>
76
          </Properties>
75
          </Properties>
77
78
          <Events>
76
          <Events>
79
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cmdSelectDirActionPerformed"/>
77
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cmdSelectDirActionPerformed"/>
80
          </Events>
78
          </Events>
Lines 86-97 Link Here
86
        </Component>
84
        </Component>
87
        <Component class="javax.swing.JLabel" name="lblVersion">
85
        <Component class="javax.swing.JLabel" name="lblVersion">
88
          <Properties>
86
          <Properties>
89
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
90
              <ResourceString bundle="org/netbeans/core/upgrade/Bundle.properties" key="LBL_lblVersion" replaceFormat="bundle.getString(&quot;{key}&quot;)"/>
91
            </Property>
92
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
87
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
93
              <Connection component="txtVersion" type="bean"/>
88
              <Connection component="txtVersion" type="bean"/>
94
            </Property>
89
            </Property>
90
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
91
              <ResourceString bundle="org/netbeans/core/upgrade/Bundle.properties" key="LBL_lblVersion" replaceFormat="bundle.getString(&quot;{key}&quot;)"/>
92
            </Property>
95
          </Properties>
93
          </Properties>
96
          <Constraints>
94
          <Constraints>
97
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
95
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
Lines 102-118 Link Here
102
        <Component class="javax.swing.JTextField" name="txtVersion">
100
        <Component class="javax.swing.JTextField" name="txtVersion">
103
          <Properties>
101
          <Properties>
104
            <Property name="editable" type="boolean" value="false"/>
102
            <Property name="editable" type="boolean" value="false"/>
105
            <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
106
              <Color blue="0" green="0" id="black" palette="0" red="0" type="palette"/>
107
            </Property>
108
            <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
103
            <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
109
              <Border info="org.netbeans.modules.form.compat2.border.EtchedBorderInfo">
104
              <Border info="org.netbeans.modules.form.compat2.border.EtchedBorderInfo">
110
                <EtchetBorder/>
105
                <EtchetBorder/>
111
              </Border>
106
              </Border>
112
            </Property>
107
            </Property>
108
            <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
109
              <Color blue="0" green="0" id="black" palette="0" red="0" type="palette"/>
110
            </Property>
113
            <Property name="enabled" type="boolean" value="false"/>
111
            <Property name="enabled" type="boolean" value="false"/>
114
          </Properties>
112
          </Properties>
115
116
          <Events>
113
          <Events>
117
            <EventHandler event="focusGained" listener="java.awt.event.FocusListener" parameters="java.awt.event.FocusEvent" handler="txtVersionFocusGained"/>
114
            <EventHandler event="focusGained" listener="java.awt.event.FocusListener" parameters="java.awt.event.FocusEvent" handler="txtVersionFocusGained"/>
118
          </Events>
115
          </Events>
Lines 126-140 Link Here
126
    </Container>
123
    </Container>
127
    <Component class="javax.swing.JTextArea" name="txtLabelTop">
124
    <Component class="javax.swing.JTextArea" name="txtLabelTop">
128
      <Properties>
125
      <Properties>
129
        <Property name="wrapStyleWord" type="boolean" value="true"/>
130
        <Property name="lineWrap" type="boolean" value="true"/>
131
        <Property name="editable" type="boolean" value="false"/>
126
        <Property name="editable" type="boolean" value="false"/>
132
        <Property name="font" type="java.awt.Font" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
127
        <Property name="font" type="java.awt.Font" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
133
          <Connection component="lblLocation" name="font" type="property"/>
128
          <Connection component="lblLocation" name="font" type="property"/>
134
        </Property>
129
        </Property>
130
        <Property name="lineWrap" type="boolean" value="true"/>
135
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
131
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
136
          <ResourceString bundle="org/netbeans/core/upgrade/Bundle.properties" key="LBL_Upgrade_Description_Top" replaceFormat="bundle.getString(&quot;{key}&quot;)"/>
132
          <ResourceString bundle="org/netbeans/core/upgrade/Bundle.properties" key="LBL_Upgrade_Description_Top" replaceFormat="bundle.getString(&quot;{key}&quot;)"/>
137
        </Property>
133
        </Property>
134
        <Property name="wrapStyleWord" type="boolean" value="true"/>
138
        <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
135
        <Property name="disabledTextColor" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
139
          <Connection component="lblLocation" name="foreground" type="property"/>
136
          <Connection component="lblLocation" name="foreground" type="property"/>
140
        </Property>
137
        </Property>
(-)core/ide/src/org/netbeans/core/upgrade/UpgradePanel.java (-19 / +17 lines)
Lines 104-114 Link Here
104
    private void initAccessibility() {
104
    private void initAccessibility() {
105
        txtVersion.selectAll();
105
        txtVersion.selectAll();
106
        this.getAccessibleContext().setAccessibleDescription(bundle.getString("LBL_Upgrade_Description_Top"));        
106
        this.getAccessibleContext().setAccessibleDescription(bundle.getString("LBL_Upgrade_Description_Top"));        
107
        lblLocation.setDisplayedMnemonic((bundle.getString("LBL_lblLocation_Mnem")).charAt(0));
108
        txtLocation.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_txtLocation"));        
107
        txtLocation.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_txtLocation"));        
109
        txtVersion.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_txtVersion"));   
108
        txtVersion.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_txtVersion"));   
110
        cmdSelectDir.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_cmdSelectDir"));   
109
        cmdSelectDir.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_cmdSelectDir"));   
111
        cmdSelectDir.setMnemonic((bundle.getString("LBL_cmdSelectDir_Mnem")).charAt(0));
112
    }
110
    }
113
    
111
    
114
    
112
    
Lines 131-144 Link Here
131
129
132
        setLayout(new java.awt.GridBagLayout());
130
        setLayout(new java.awt.GridBagLayout());
133
131
134
        setPreferredSize(new java.awt.Dimension(550, 350));
135
        setName(bundle.getString("LBL_UpgradePanel_Name"));
136
        setMinimumSize(new java.awt.Dimension(500, 279));
137
        setMaximumSize(new java.awt.Dimension(123456, 123456));
132
        setMaximumSize(new java.awt.Dimension(123456, 123456));
133
        setMinimumSize(new java.awt.Dimension(500, 279));
134
        setName(bundle.getString("LBL_UpgradePanel_Name"));
135
        setPreferredSize(new java.awt.Dimension(550, 350));
138
        pnlUpgrade.setLayout(new java.awt.GridBagLayout());
136
        pnlUpgrade.setLayout(new java.awt.GridBagLayout());
139
137
140
        lblLocation.setText(bundle.getString("LBL_lblLocation"));
141
        lblLocation.setLabelFor(txtLocation);
138
        lblLocation.setLabelFor(txtLocation);
139
        org.openide.awt.Mnemonics.setLocalizedText(lblLocation,bundle.getString("LBL_lblLocation"));
142
        lblLocation.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
140
        lblLocation.setHorizontalTextPosition(javax.swing.SwingConstants.LEFT);
143
        gridBagConstraints = new java.awt.GridBagConstraints();
141
        gridBagConstraints = new java.awt.GridBagConstraints();
144
        gridBagConstraints.gridx = 0;
142
        gridBagConstraints.gridx = 0;
Lines 147-154 Link Here
147
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
145
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
148
        pnlUpgrade.add(lblLocation, gridBagConstraints);
146
        pnlUpgrade.add(lblLocation, gridBagConstraints);
149
147
150
        txtLocation.setDisabledTextColor(java.awt.Color.black);
151
        txtLocation.setBorder(new javax.swing.border.EtchedBorder());
148
        txtLocation.setBorder(new javax.swing.border.EtchedBorder());
149
        txtLocation.setDisabledTextColor(java.awt.Color.black);
152
        txtLocation.addActionListener(new java.awt.event.ActionListener() {
150
        txtLocation.addActionListener(new java.awt.event.ActionListener() {
153
            public void actionPerformed(java.awt.event.ActionEvent evt) {
151
            public void actionPerformed(java.awt.event.ActionEvent evt) {
154
                txtLocationActionPerformed(evt);
152
                txtLocationActionPerformed(evt);
Lines 169-175 Link Here
169
        gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0);
167
        gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0);
170
        pnlUpgrade.add(txtLocation, gridBagConstraints);
168
        pnlUpgrade.add(txtLocation, gridBagConstraints);
171
169
172
        cmdSelectDir.setText(bundle.getString("LBL_cmdSelectDir"));
170
        org.openide.awt.Mnemonics.setLocalizedText(cmdSelectDir,bundle.getString("LBL_cmdSelectDir"));
173
        cmdSelectDir.addActionListener(new java.awt.event.ActionListener() {
171
        cmdSelectDir.addActionListener(new java.awt.event.ActionListener() {
174
            public void actionPerformed(java.awt.event.ActionEvent evt) {
172
            public void actionPerformed(java.awt.event.ActionEvent evt) {
175
                cmdSelectDirActionPerformed(evt);
173
                cmdSelectDirActionPerformed(evt);
Lines 183-190 Link Here
183
        gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0);
181
        gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0);
184
        pnlUpgrade.add(cmdSelectDir, gridBagConstraints);
182
        pnlUpgrade.add(cmdSelectDir, gridBagConstraints);
185
183
186
        lblVersion.setText(bundle.getString("LBL_lblVersion"));
187
        lblVersion.setLabelFor(txtVersion);
184
        lblVersion.setLabelFor(txtVersion);
185
        org.openide.awt.Mnemonics.setLocalizedText(lblVersion,bundle.getString("LBL_lblVersion"));
188
        gridBagConstraints = new java.awt.GridBagConstraints();
186
        gridBagConstraints = new java.awt.GridBagConstraints();
189
        gridBagConstraints.gridx = 0;
187
        gridBagConstraints.gridx = 0;
190
        gridBagConstraints.gridy = 1;
188
        gridBagConstraints.gridy = 1;
Lines 194-201 Link Here
194
        pnlUpgrade.add(lblVersion, gridBagConstraints);
192
        pnlUpgrade.add(lblVersion, gridBagConstraints);
195
193
196
        txtVersion.setEditable(false);
194
        txtVersion.setEditable(false);
197
        txtVersion.setDisabledTextColor(java.awt.Color.black);
198
        txtVersion.setBorder(new javax.swing.border.EtchedBorder());
195
        txtVersion.setBorder(new javax.swing.border.EtchedBorder());
196
        txtVersion.setDisabledTextColor(java.awt.Color.black);
199
        txtVersion.setEnabled(false);
197
        txtVersion.setEnabled(false);
200
        txtVersion.addFocusListener(new java.awt.event.FocusAdapter() {
198
        txtVersion.addFocusListener(new java.awt.event.FocusAdapter() {
201
            public void focusGained(java.awt.event.FocusEvent evt) {
199
            public void focusGained(java.awt.event.FocusEvent evt) {
Lines 219-229 Link Here
219
        gridBagConstraints.insets = new java.awt.Insets(12, 0, 0, 0);
217
        gridBagConstraints.insets = new java.awt.Insets(12, 0, 0, 0);
220
        add(pnlUpgrade, gridBagConstraints);
218
        add(pnlUpgrade, gridBagConstraints);
221
219
222
        txtLabelTop.setWrapStyleWord(true);
223
        txtLabelTop.setLineWrap(true);
224
        txtLabelTop.setEditable(false);
220
        txtLabelTop.setEditable(false);
225
        txtLabelTop.setFont(lblLocation.getFont());
221
        txtLabelTop.setFont(lblLocation.getFont());
222
        txtLabelTop.setLineWrap(true);
226
        txtLabelTop.setText(bundle.getString("LBL_Upgrade_Description_Top"));
223
        txtLabelTop.setText(bundle.getString("LBL_Upgrade_Description_Top"));
224
        txtLabelTop.setWrapStyleWord(true);
227
        txtLabelTop.setDisabledTextColor(lblLocation.getForeground());
225
        txtLabelTop.setDisabledTextColor(lblLocation.getForeground());
228
        txtLabelTop.setDoubleBuffered(true);
226
        txtLabelTop.setDoubleBuffered(true);
229
        txtLabelTop.setEnabled(false);
227
        txtLabelTop.setEnabled(false);
Lines 321-336 Link Here
321
        DialogDisplayer.getDefault().notify(descr);
319
        DialogDisplayer.getDefault().notify(descr);
322
    }
320
    }
323
    
321
    
324
    // Variables declaration - do not modify//GEN-BEGIN:variables
322
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
325
    private javax.swing.JTextField txtVersion;
323
    private javax.swing.JLabel lblVersion;
326
    private javax.swing.JPanel pnlUpgrade;
327
    private javax.swing.JTextArea txtLabelTop;
328
    private javax.swing.JButton cmdSelectDir;
324
    private javax.swing.JButton cmdSelectDir;
325
    private javax.swing.JTextField txtVersion;
326
    private javax.swing.JTextField txtLocation;
329
    private javax.swing.JLabel lblLocation;
327
    private javax.swing.JLabel lblLocation;
330
    private javax.swing.JLabel lblVersion;
328
    private javax.swing.JPanel pnlUpgrade;
331
    private javax.swing.JPanel jPanel1;
329
    private javax.swing.JPanel jPanel1;
332
    private javax.swing.JTextField txtLocation;
330
    private javax.swing.JTextArea txtLabelTop;
333
    // End of variables declaration//GEN-END:variables
331
    // ????? ?????????? ??????????//GEN-END:variables
334
332
335
    private File lastLocation = null;
333
    private File lastLocation = null;
336
    private static final ResourceBundle bundle = NbBundle.getBundle(UpgradePanel.class);
334
    private static final ResourceBundle bundle = NbBundle.getBundle(UpgradePanel.class);
(-)core/output/src/org/netbeans/core/output/Bundle.properties (-8 / +4 lines)
Lines 80-93 Link Here
80
80
81
#Find Dialog
81
#Find Dialog
82
LBL_Find_Title=Find
82
LBL_Find_Title=Find
83
LBL_Find_What=Find What:
83
LBL_Find_What=&Find What:
84
LBL_Find_Case=Match Case
84
LBL_Find_Case=&Match Case
85
LBL_Find_Whole=Match Whole Words Only
85
LBL_Find_Whole=Match &Whole Words Only
86
LBL_Find_Back=Backward Search
86
LBL_Find_Back=&Backward Search
87
LBL_Find_What_Mnemonic=F
88
LBL_Find_Case_Mnemonic=M
89
LBL_Find_Whole_Mnemonic=W
90
LBL_Find_Back_Mnemonic=B
91
BTN_Find=Find
87
BTN_Find=Find
92
ACSN_Find=N/A
88
ACSN_Find=N/A
93
ACSD_Find=N/A
89
ACSD_Find=N/A
(-)core/output/src/org/netbeans/core/output/FindDialogPanel.form (-12 lines)
Lines 9-17 Link Here
9
  <SubComponents>
9
  <SubComponents>
10
    <Component class="javax.swing.JLabel" name="findWhatLabel">
10
    <Component class="javax.swing.JLabel" name="findWhatLabel">
11
      <Properties>
11
      <Properties>
12
        <Property name="displayedMnemonic" type="int" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
13
          <Connection code="NbBundle.getBundle(FindDialogPanel.class).getString(&quot;LBL_Find_What_Mnemonic&quot;).charAt(0)" type="code"/>
14
        </Property>
15
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
12
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
16
          <Connection code="findWhat" type="code"/>
13
          <Connection code="findWhat" type="code"/>
17
        </Property>
14
        </Property>
Lines 43-51 Link Here
43
    </Component>
40
    </Component>
44
    <Component class="javax.swing.JCheckBox" name="matchCase">
41
    <Component class="javax.swing.JCheckBox" name="matchCase">
45
      <Properties>
42
      <Properties>
46
        <Property name="mnemonic" type="int" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
47
          <Connection code="NbBundle.getBundle(FindDialogPanel.class).getString(&quot;LBL_Find_Case_Mnemonic&quot;).charAt(0)" type="code"/>
48
        </Property>
49
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
43
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
50
          <ResourceString bundle="org/netbeans/core/output/Bundle.properties" key="LBL_Find_Case" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
44
          <ResourceString bundle="org/netbeans/core/output/Bundle.properties" key="LBL_Find_Case" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
51
        </Property>
45
        </Property>
Lines 66-74 Link Here
66
    </Component>
60
    </Component>
67
    <Component class="javax.swing.JCheckBox" name="wholeWords">
61
    <Component class="javax.swing.JCheckBox" name="wholeWords">
68
      <Properties>
62
      <Properties>
69
        <Property name="mnemonic" type="int" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
70
          <Connection code="NbBundle.getBundle(FindDialogPanel.class).getString(&quot;LBL_Find_Whole_Mnemonic&quot;).charAt(0)" type="code"/>
71
        </Property>
72
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
63
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
73
          <ResourceString bundle="org/netbeans/core/output/Bundle.properties" key="LBL_Find_Whole" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
64
          <ResourceString bundle="org/netbeans/core/output/Bundle.properties" key="LBL_Find_Whole" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
74
        </Property>
65
        </Property>
Lines 89-97 Link Here
89
    </Component>
80
    </Component>
90
    <Component class="javax.swing.JCheckBox" name="bwdSearch">
81
    <Component class="javax.swing.JCheckBox" name="bwdSearch">
91
      <Properties>
82
      <Properties>
92
        <Property name="mnemonic" type="int" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
93
          <Connection code="NbBundle.getBundle(FindDialogPanel.class).getString(&quot;LBL_Find_Back_Mnemonic&quot;).charAt(0)" type="code"/>
94
        </Property>
95
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
83
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
96
          <ResourceString bundle="org/netbeans/core/output/Bundle.properties" key="LBL_Find_Back" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
84
          <ResourceString bundle="org/netbeans/core/output/Bundle.properties" key="LBL_Find_Back" replaceFormat="org.openide.util.NbBundle.getBundle({sourceFileName}.class).getString(&quot;{key}&quot;)"/>
97
        </Property>
85
        </Property>
(-)core/output/src/org/netbeans/core/output/FindDialogPanel.java (-14 / +10 lines)
Lines 75-83 Link Here
75
75
76
        setLayout(new java.awt.GridBagLayout());
76
        setLayout(new java.awt.GridBagLayout());
77
77
78
        findWhatLabel.setDisplayedMnemonic(NbBundle.getBundle(FindDialogPanel.class).getString("LBL_Find_What_Mnemonic").charAt(0));
79
        findWhatLabel.setLabelFor(findWhat);
78
        findWhatLabel.setLabelFor(findWhat);
80
        findWhatLabel.setText(org.openide.util.NbBundle.getBundle(FindDialogPanel.class).getString("LBL_Find_What"));
79
        org.openide.awt.Mnemonics.setLocalizedText(findWhatLabel,org.openide.util.NbBundle.getBundle(FindDialogPanel.class).getString("LBL_Find_What"));
81
        gridBagConstraints = new java.awt.GridBagConstraints();
80
        gridBagConstraints = new java.awt.GridBagConstraints();
82
        gridBagConstraints.gridx = 0;
81
        gridBagConstraints.gridx = 0;
83
        gridBagConstraints.gridy = 1;
82
        gridBagConstraints.gridy = 1;
Lines 95-102 Link Here
95
        gridBagConstraints.insets = new java.awt.Insets(0, 11, 9, 10);
94
        gridBagConstraints.insets = new java.awt.Insets(0, 11, 9, 10);
96
        add(findWhat, gridBagConstraints);
95
        add(findWhat, gridBagConstraints);
97
96
98
        matchCase.setMnemonic(NbBundle.getBundle(FindDialogPanel.class).getString("LBL_Find_Case_Mnemonic").charAt(0));
97
        org.openide.awt.Mnemonics.setLocalizedText(matchCase,org.openide.util.NbBundle.getBundle(FindDialogPanel.class).getString("LBL_Find_Case"));
99
        matchCase.setText(org.openide.util.NbBundle.getBundle(FindDialogPanel.class).getString("LBL_Find_Case"));
100
        matchCase.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(1, 1, 1, 1)));
98
        matchCase.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(1, 1, 1, 1)));
101
        gridBagConstraints = new java.awt.GridBagConstraints();
99
        gridBagConstraints = new java.awt.GridBagConstraints();
102
        gridBagConstraints.gridx = 1;
100
        gridBagConstraints.gridx = 1;
Lines 105-140 Link Here
105
        gridBagConstraints.insets = new java.awt.Insets(0, 11, 0, 0);
103
        gridBagConstraints.insets = new java.awt.Insets(0, 11, 0, 0);
106
        add(matchCase, gridBagConstraints);
104
        add(matchCase, gridBagConstraints);
107
105
108
        wholeWords.setMnemonic(NbBundle.getBundle(FindDialogPanel.class).getString("LBL_Find_Whole_Mnemonic").charAt(0));
106
        org.openide.awt.Mnemonics.setLocalizedText(wholeWords,org.openide.util.NbBundle.getBundle(FindDialogPanel.class).getString("LBL_Find_Whole"));
109
        wholeWords.setText(org.openide.util.NbBundle.getBundle(FindDialogPanel.class).getString("LBL_Find_Whole"));
110
        wholeWords.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(1, 1, 1, 1)));
107
        wholeWords.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(1, 1, 1, 1)));
111
        gridBagConstraints = new java.awt.GridBagConstraints();
108
        gridBagConstraints = new java.awt.GridBagConstraints();
112
        gridBagConstraints.gridx = 1;
109
        gridBagConstraints.gridx = 1;
113
        gridBagConstraints.gridy = 4;
110
        gridBagConstraints.gridy = 4;
114
        gridBagConstraints.insets = new java.awt.Insets(0, 11, 0, 0);
115
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
111
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
112
        gridBagConstraints.insets = new java.awt.Insets(0, 11, 0, 0);
116
        add(wholeWords, gridBagConstraints);
113
        add(wholeWords, gridBagConstraints);
117
114
118
        bwdSearch.setMnemonic(NbBundle.getBundle(FindDialogPanel.class).getString("LBL_Find_Back_Mnemonic").charAt(0));
115
        org.openide.awt.Mnemonics.setLocalizedText(bwdSearch,org.openide.util.NbBundle.getBundle(FindDialogPanel.class).getString("LBL_Find_Back"));
119
        bwdSearch.setText(org.openide.util.NbBundle.getBundle(FindDialogPanel.class).getString("LBL_Find_Back"));
120
        bwdSearch.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(1, 1, 1, 1)));
116
        bwdSearch.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(1, 1, 1, 1)));
121
        gridBagConstraints = new java.awt.GridBagConstraints();
117
        gridBagConstraints = new java.awt.GridBagConstraints();
122
        gridBagConstraints.gridx = 2;
118
        gridBagConstraints.gridx = 2;
123
        gridBagConstraints.gridy = 3;
119
        gridBagConstraints.gridy = 3;
124
        gridBagConstraints.insets = new java.awt.Insets(0, 11, 0, 10);
125
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
120
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
121
        gridBagConstraints.insets = new java.awt.Insets(0, 11, 0, 10);
126
        add(bwdSearch, gridBagConstraints);
122
        add(bwdSearch, gridBagConstraints);
127
123
128
    }//GEN-END:initComponents
124
    }//GEN-END:initComponents
129
125
130
126
131
    // Variables declaration - do not modify//GEN-BEGIN:variables
127
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
132
    protected javax.swing.JComboBox findWhat;
133
    protected javax.swing.JCheckBox bwdSearch;
128
    protected javax.swing.JCheckBox bwdSearch;
129
    protected javax.swing.JComboBox findWhat;
134
    protected javax.swing.JCheckBox matchCase;
130
    protected javax.swing.JCheckBox matchCase;
135
    protected javax.swing.JCheckBox wholeWords;
136
    protected javax.swing.JLabel findWhatLabel;
131
    protected javax.swing.JLabel findWhatLabel;
137
    // End of variables declaration//GEN-END:variables
132
    protected javax.swing.JCheckBox wholeWords;
133
    // ????? ?????????? ??????????//GEN-END:variables
138
134
139
135
140
    static FindDialogPanel showFindDialog() {
136
    static FindDialogPanel showFindDialog() {
(-)core/src/org/netbeans/beaninfo/Bundle.properties (-10 / +5 lines)
Lines 87-107 Link Here
87
HINT_systemName=Should uniquely identify the filesystem, as it will be used during serialization of its files. 
87
HINT_systemName=Should uniquely identify the filesystem, as it will be used during serialization of its files. 
88
88
89
# LoaderActionsPanel
89
# LoaderActionsPanel
90
LoaderActionsPanel.jButton1.text=Add
90
LoaderActionsPanel.jButton1.text=&Add
91
LoaderActionsPanel.jButton2.text=Add Separator
91
LoaderActionsPanel.jButton2.text=Add &Separator
92
LoaderActionsPanel.jButton3.text=Remove
92
LoaderActionsPanel.jButton3.text=&Remove
93
LoaderActionsPanel.jButton4.text=Move Up
93
LoaderActionsPanel.jButton4.text=Move &Up
94
LoaderActionsPanel.jButton5.text=Move Down
94
LoaderActionsPanel.jButton5.text=Move Do&wn
95
LoaderActionsPanel.jButton1.toolTipText=Adds an action from the actions pool to the end of the list.
95
LoaderActionsPanel.jButton1.toolTipText=Adds an action from the actions pool to the end of the list.
96
LoaderActionsPanel.jButton2.toolTipText=Adds a separator to the end of the list.
96
LoaderActionsPanel.jButton2.toolTipText=Adds a separator to the end of the list.
97
LoaderActionsPanel.jButton3.toolTipText=Removes the selected action from the list.
97
LoaderActionsPanel.jButton3.toolTipText=Removes the selected action from the list.
98
LoaderActionsPanel.jButton4.toolTipText=Moves the selected item up in the list.
98
LoaderActionsPanel.jButton4.toolTipText=Moves the selected item up in the list.
99
LoaderActionsPanel.jButton5.toolTipText=Moves the selected item down in the list.
99
LoaderActionsPanel.jButton5.toolTipText=Moves the selected item down in the list.
100
LoaderActionsPanel.jButton1.mnemonic=A
101
LoaderActionsPanel.jButton2.mnemonic=S
102
LoaderActionsPanel.jButton3.mnemonic=R
103
LoaderActionsPanel.jButton4.mnemonic=U
104
LoaderActionsPanel.jButton5.mnemonic=w
105
ACS_LoaderActionsPanel.beanTreeView=Actions pool
100
ACS_LoaderActionsPanel.beanTreeView=Actions pool
106
ACSD_LoaderActionsPanel.beanTreeView=N/A
101
ACSD_LoaderActionsPanel.beanTreeView=N/A
107
ACS_LoaderActionsPanel.list=Actions list
102
ACS_LoaderActionsPanel.list=Actions list
(-)core/src/org/netbeans/beaninfo/LoaderActionsPanel.form (-31 / +23 lines)
Lines 11-18 Link Here
11
      <Dimension value="[600, 500]"/>
11
      <Dimension value="[600, 500]"/>
12
    </Property>
12
    </Property>
13
  </Properties>
13
  </Properties>
14
  <SyntheticProperties>
15
  </SyntheticProperties>
16
14
17
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout">
15
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout">
18
    <Property name="horizontalGap" type="int" value="11"/>
16
    <Property name="horizontalGap" type="int" value="11"/>
Lines 66-79 Link Here
66
          <SubComponents>
64
          <SubComponents>
67
            <Component class="javax.swing.JList" name="list">
65
            <Component class="javax.swing.JList" name="list">
68
              <Properties>
66
              <Properties>
69
                <Property name="cellRenderer" type="javax.swing.ListCellRenderer" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
70
                  <Connection code="this" type="code"/>
71
                </Property>
72
                <Property name="selectionMode" type="int" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
67
                <Property name="selectionMode" type="int" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
73
                  <Connection code="ListSelectionModel.SINGLE_SELECTION" type="code"/>
68
                  <Connection code="ListSelectionModel.SINGLE_SELECTION" type="code"/>
74
                </Property>
69
                </Property>
70
                <Property name="cellRenderer" type="javax.swing.ListCellRenderer" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
71
                  <Connection code="this" type="code"/>
72
                </Property>
75
              </Properties>
73
              </Properties>
76
77
              <Events>
74
              <Events>
78
                <EventHandler event="valueChanged" listener="javax.swing.event.ListSelectionListener" parameters="javax.swing.event.ListSelectionEvent" handler="listValueChanged"/>
75
                <EventHandler event="valueChanged" listener="javax.swing.event.ListSelectionListener" parameters="javax.swing.event.ListSelectionEvent" handler="listValueChanged"/>
79
              </Events>
76
              </Events>
Lines 100-199 Link Here
100
          <SubComponents>
97
          <SubComponents>
101
            <Component class="javax.swing.JButton" name="addButton">
98
            <Component class="javax.swing.JButton" name="addButton">
102
              <Properties>
99
              <Properties>
103
                <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
104
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton1.toolTipText" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
105
                </Property>
106
                <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
100
                <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
107
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton1.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
101
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton1.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
108
                </Property>
102
                </Property>
103
                <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
104
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton1.toolTipText" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
105
                </Property>
109
                <Property name="enabled" type="boolean" value="false"/>
106
                <Property name="enabled" type="boolean" value="false"/>
110
              </Properties>
107
              </Properties>
111
112
              <Events>
108
              <Events>
113
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="addButtonActionPerformed"/>
109
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="addButtonActionPerformed"/>
114
              </Events>
110
              </Events>
115
              <Constraints>
111
              <Constraints>
116
                <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
112
                <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
117
                  <GridBagConstraints anchor="10" fill="2" gridHeight="1" gridWidth="1" gridX="-1" gridY="-1" insetsBottom="5" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
113
                  <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="5" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
118
                </Constraint>
114
                </Constraint>
119
              </Constraints>
115
              </Constraints>
120
            </Component>
116
            </Component>
121
            <Component class="javax.swing.JButton" name="separatorButton">
117
            <Component class="javax.swing.JButton" name="separatorButton">
122
              <Properties>
118
              <Properties>
123
                <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
124
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton2.toolTipText" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
125
                </Property>
126
                <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
119
                <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
127
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton2.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
120
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton2.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
128
                </Property>
121
                </Property>
122
                <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
123
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton2.toolTipText" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
124
                </Property>
129
              </Properties>
125
              </Properties>
130
131
              <Events>
126
              <Events>
132
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="separatorButtonActionPerformed"/>
127
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="separatorButtonActionPerformed"/>
133
              </Events>
128
              </Events>
134
              <Constraints>
129
              <Constraints>
135
                <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
130
                <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
136
                  <GridBagConstraints anchor="10" fill="2" gridHeight="1" gridWidth="1" gridX="0" gridY="1" insetsBottom="5" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
131
                  <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="5" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
137
                </Constraint>
132
                </Constraint>
138
              </Constraints>
133
              </Constraints>
139
            </Component>
134
            </Component>
140
            <Component class="javax.swing.JButton" name="removeButton">
135
            <Component class="javax.swing.JButton" name="removeButton">
141
              <Properties>
136
              <Properties>
142
                <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
143
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton3.toolTipText" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
144
                </Property>
145
                <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
137
                <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
146
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton3.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
138
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton3.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
147
                </Property>
139
                </Property>
140
                <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
141
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton3.toolTipText" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
142
                </Property>
148
                <Property name="enabled" type="boolean" value="false"/>
143
                <Property name="enabled" type="boolean" value="false"/>
149
              </Properties>
144
              </Properties>
150
151
              <Events>
145
              <Events>
152
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="removeButtonActionPerformed"/>
146
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="removeButtonActionPerformed"/>
153
              </Events>
147
              </Events>
154
              <Constraints>
148
              <Constraints>
155
                <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
149
                <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
156
                  <GridBagConstraints anchor="10" fill="2" gridHeight="1" gridWidth="1" gridX="0" gridY="2" insetsBottom="11" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
150
                  <GridBagConstraints gridX="0" gridY="2" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="11" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
157
                </Constraint>
151
                </Constraint>
158
              </Constraints>
152
              </Constraints>
159
            </Component>
153
            </Component>
160
            <Component class="javax.swing.JButton" name="upButton">
154
            <Component class="javax.swing.JButton" name="upButton">
161
              <Properties>
155
              <Properties>
162
                <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
163
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton4.toolTipText" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
164
                </Property>
165
                <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
156
                <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
166
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton4.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
157
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton4.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
167
                </Property>
158
                </Property>
159
                <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
160
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton4.toolTipText" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
161
                </Property>
168
                <Property name="enabled" type="boolean" value="false"/>
162
                <Property name="enabled" type="boolean" value="false"/>
169
              </Properties>
163
              </Properties>
170
171
              <Events>
164
              <Events>
172
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="upButtonActionPerformed"/>
165
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="upButtonActionPerformed"/>
173
              </Events>
166
              </Events>
174
              <Constraints>
167
              <Constraints>
175
                <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
168
                <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
176
                  <GridBagConstraints anchor="10" fill="2" gridHeight="1" gridWidth="1" gridX="0" gridY="3" insetsBottom="5" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
169
                  <GridBagConstraints gridX="0" gridY="3" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="5" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
177
                </Constraint>
170
                </Constraint>
178
              </Constraints>
171
              </Constraints>
179
            </Component>
172
            </Component>
180
            <Component class="javax.swing.JButton" name="downButton">
173
            <Component class="javax.swing.JButton" name="downButton">
181
              <Properties>
174
              <Properties>
182
                <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
183
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton5.toolTipText" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
184
                </Property>
185
                <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
175
                <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
186
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton5.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
176
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton5.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
187
                </Property>
177
                </Property>
178
                <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
179
                  <ResourceString bundle="org/netbeans/beaninfo/Bundle.properties" key="LoaderActionsPanel.jButton5.toolTipText" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
180
                </Property>
188
                <Property name="enabled" type="boolean" value="false"/>
181
                <Property name="enabled" type="boolean" value="false"/>
189
              </Properties>
182
              </Properties>
190
191
              <Events>
183
              <Events>
192
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="downButtonActionPerformed"/>
184
                <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="downButtonActionPerformed"/>
193
              </Events>
185
              </Events>
194
              <Constraints>
186
              <Constraints>
195
                <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
187
                <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
196
                  <GridBagConstraints anchor="10" fill="2" gridHeight="1" gridWidth="1" gridX="0" gridY="4" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
188
                  <GridBagConstraints gridX="0" gridY="4" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
197
                </Constraint>
189
                </Constraint>
198
              </Constraints>
190
              </Constraints>
199
            </Component>
191
            </Component>
(-)core/src/org/netbeans/beaninfo/LoaderActionsPanel.java (-71 / +66 lines)
Lines 63-74 Link Here
63
        
63
        
64
        java.util.ResourceBundle bundle = NbBundle.getBundle(LoaderActionsPanel.class);
64
        java.util.ResourceBundle bundle = NbBundle.getBundle(LoaderActionsPanel.class);
65
        
65
        
66
        addButton.setMnemonic(bundle.getString("LoaderActionsPanel.jButton1.mnemonic").charAt(0));
67
        separatorButton.setMnemonic(bundle.getString("LoaderActionsPanel.jButton2.mnemonic").charAt(0));
68
        removeButton.setMnemonic(bundle.getString("LoaderActionsPanel.jButton3.mnemonic").charAt(0));
69
        upButton.setMnemonic(bundle.getString("LoaderActionsPanel.jButton4.mnemonic").charAt(0));
70
        downButton.setMnemonic(bundle.getString("LoaderActionsPanel.jButton5.mnemonic").charAt(0));
71
        
72
        beanTreeView2.getAccessibleContext().setAccessibleName(bundle.getString("ACS_LoaderActionsPanel.beanTreeView"));
66
        beanTreeView2.getAccessibleContext().setAccessibleName(bundle.getString("ACS_LoaderActionsPanel.beanTreeView"));
73
        beanTreeView2.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_LoaderActionsPanel.beanTreeView"));
67
        beanTreeView2.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_LoaderActionsPanel.beanTreeView"));
74
        list.getAccessibleContext().setAccessibleName(bundle.getString("ACS_LoaderActionsPanel.list"));
68
        list.getAccessibleContext().setAccessibleName(bundle.getString("ACS_LoaderActionsPanel.list"));
Lines 82-87 Link Here
82
     * always regenerated by the FormEditor.
76
     * always regenerated by the FormEditor.
83
     */
77
     */
84
    private void initComponents() {//GEN-BEGIN:initComponents
78
    private void initComponents() {//GEN-BEGIN:initComponents
79
        java.awt.GridBagConstraints gridBagConstraints;
80
85
        splitPane = new javax.swing.JSplitPane();
81
        splitPane = new javax.swing.JSplitPane();
86
        explorerPanel = new org.openide.explorer.ExplorerPanel();
82
        explorerPanel = new org.openide.explorer.ExplorerPanel();
87
        beanTreeView2 = new org.openide.explorer.view.BeanTreeView();
83
        beanTreeView2 = new org.openide.explorer.view.BeanTreeView();
Lines 94-102 Link Here
94
        removeButton = new javax.swing.JButton();
90
        removeButton = new javax.swing.JButton();
95
        upButton = new javax.swing.JButton();
91
        upButton = new javax.swing.JButton();
96
        downButton = new javax.swing.JButton();
92
        downButton = new javax.swing.JButton();
97
        
93
98
        setLayout(new java.awt.BorderLayout(11, 0));
94
        setLayout(new java.awt.BorderLayout(11, 0));
99
        
95
100
        setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(12, 12, 0, 11)));
96
        setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(12, 12, 0, 11)));
101
        setPreferredSize(new java.awt.Dimension(600, 500));
97
        setPreferredSize(new java.awt.Dimension(600, 500));
102
        splitPane.setDividerSize(5);
98
        splitPane.setDividerSize(5);
Lines 104-211 Link Here
104
        beanTreeView2.setDefaultActionAllowed(false);
100
        beanTreeView2.setDefaultActionAllowed(false);
105
        beanTreeView2.setPopupAllowed(false);
101
        beanTreeView2.setPopupAllowed(false);
106
        explorerPanel.add(beanTreeView2, java.awt.BorderLayout.CENTER);
102
        explorerPanel.add(beanTreeView2, java.awt.BorderLayout.CENTER);
107
        
103
108
        splitPane.setLeftComponent(explorerPanel);
104
        splitPane.setLeftComponent(explorerPanel);
109
        
105
110
        list.setCellRenderer(this);
111
        list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
106
        list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
107
        list.setCellRenderer(this);
112
        list.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
108
        list.addListSelectionListener(new javax.swing.event.ListSelectionListener() {
113
            public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
109
            public void valueChanged(javax.swing.event.ListSelectionEvent evt) {
114
                listValueChanged(evt);
110
                listValueChanged(evt);
115
            }
111
            }
116
        });
112
        });
117
        
113
118
        jScrollPane1.setViewportView(list);
114
        jScrollPane1.setViewportView(list);
119
        
115
120
        splitPane.setRightComponent(jScrollPane1);
116
        splitPane.setRightComponent(jScrollPane1);
121
        
117
122
        add(splitPane, java.awt.BorderLayout.CENTER);
118
        add(splitPane, java.awt.BorderLayout.CENTER);
123
        
119
124
        jPanel2.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.CENTER, 0, 0));
120
        jPanel2.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.CENTER, 0, 0));
125
        
121
126
        jPanel1.setLayout(new java.awt.GridBagLayout());
122
        jPanel1.setLayout(new java.awt.GridBagLayout());
127
        java.awt.GridBagConstraints gridBagConstraints1;
123
128
        
124
        org.openide.awt.Mnemonics.setLocalizedText(addButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton1.text"));
129
        addButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton1.toolTipText"));
125
        addButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton1.toolTipText"));
130
        addButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton1.text"));
131
        addButton.setEnabled(false);
126
        addButton.setEnabled(false);
132
        addButton.addActionListener(new java.awt.event.ActionListener() {
127
        addButton.addActionListener(new java.awt.event.ActionListener() {
133
            public void actionPerformed(java.awt.event.ActionEvent evt) {
128
            public void actionPerformed(java.awt.event.ActionEvent evt) {
134
                addButtonActionPerformed(evt);
129
                addButtonActionPerformed(evt);
135
            }
130
            }
136
        });
131
        });
137
        
132
138
        gridBagConstraints1 = new java.awt.GridBagConstraints();
133
        gridBagConstraints = new java.awt.GridBagConstraints();
139
        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
134
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
140
        gridBagConstraints1.insets = new java.awt.Insets(0, 0, 5, 0);
135
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
141
        jPanel1.add(addButton, gridBagConstraints1);
136
        jPanel1.add(addButton, gridBagConstraints);
142
        
137
138
        org.openide.awt.Mnemonics.setLocalizedText(separatorButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton2.text"));
143
        separatorButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton2.toolTipText"));
139
        separatorButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton2.toolTipText"));
144
        separatorButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton2.text"));
145
        separatorButton.addActionListener(new java.awt.event.ActionListener() {
140
        separatorButton.addActionListener(new java.awt.event.ActionListener() {
146
            public void actionPerformed(java.awt.event.ActionEvent evt) {
141
            public void actionPerformed(java.awt.event.ActionEvent evt) {
147
                separatorButtonActionPerformed(evt);
142
                separatorButtonActionPerformed(evt);
148
            }
143
            }
149
        });
144
        });
150
        
145
151
        gridBagConstraints1 = new java.awt.GridBagConstraints();
146
        gridBagConstraints = new java.awt.GridBagConstraints();
152
        gridBagConstraints1.gridx = 0;
147
        gridBagConstraints.gridx = 0;
153
        gridBagConstraints1.gridy = 1;
148
        gridBagConstraints.gridy = 1;
154
        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
149
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
155
        gridBagConstraints1.insets = new java.awt.Insets(0, 0, 5, 0);
150
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
156
        jPanel1.add(separatorButton, gridBagConstraints1);
151
        jPanel1.add(separatorButton, gridBagConstraints);
157
        
152
153
        org.openide.awt.Mnemonics.setLocalizedText(removeButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton3.text"));
158
        removeButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton3.toolTipText"));
154
        removeButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton3.toolTipText"));
159
        removeButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton3.text"));
160
        removeButton.setEnabled(false);
155
        removeButton.setEnabled(false);
161
        removeButton.addActionListener(new java.awt.event.ActionListener() {
156
        removeButton.addActionListener(new java.awt.event.ActionListener() {
162
            public void actionPerformed(java.awt.event.ActionEvent evt) {
157
            public void actionPerformed(java.awt.event.ActionEvent evt) {
163
                removeButtonActionPerformed(evt);
158
                removeButtonActionPerformed(evt);
164
            }
159
            }
165
        });
160
        });
166
        
161
167
        gridBagConstraints1 = new java.awt.GridBagConstraints();
162
        gridBagConstraints = new java.awt.GridBagConstraints();
168
        gridBagConstraints1.gridx = 0;
163
        gridBagConstraints.gridx = 0;
169
        gridBagConstraints1.gridy = 2;
164
        gridBagConstraints.gridy = 2;
170
        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
165
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
171
        gridBagConstraints1.insets = new java.awt.Insets(0, 0, 11, 0);
166
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 11, 0);
172
        jPanel1.add(removeButton, gridBagConstraints1);
167
        jPanel1.add(removeButton, gridBagConstraints);
173
        
168
169
        org.openide.awt.Mnemonics.setLocalizedText(upButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton4.text"));
174
        upButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton4.toolTipText"));
170
        upButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton4.toolTipText"));
175
        upButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton4.text"));
176
        upButton.setEnabled(false);
171
        upButton.setEnabled(false);
177
        upButton.addActionListener(new java.awt.event.ActionListener() {
172
        upButton.addActionListener(new java.awt.event.ActionListener() {
178
            public void actionPerformed(java.awt.event.ActionEvent evt) {
173
            public void actionPerformed(java.awt.event.ActionEvent evt) {
179
                upButtonActionPerformed(evt);
174
                upButtonActionPerformed(evt);
180
            }
175
            }
181
        });
176
        });
182
        
177
183
        gridBagConstraints1 = new java.awt.GridBagConstraints();
178
        gridBagConstraints = new java.awt.GridBagConstraints();
184
        gridBagConstraints1.gridx = 0;
179
        gridBagConstraints.gridx = 0;
185
        gridBagConstraints1.gridy = 3;
180
        gridBagConstraints.gridy = 3;
186
        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
181
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
187
        gridBagConstraints1.insets = new java.awt.Insets(0, 0, 5, 0);
182
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 0);
188
        jPanel1.add(upButton, gridBagConstraints1);
183
        jPanel1.add(upButton, gridBagConstraints);
189
        
184
185
        org.openide.awt.Mnemonics.setLocalizedText(downButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton5.text"));
190
        downButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton5.toolTipText"));
186
        downButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton5.toolTipText"));
191
        downButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/Bundle").getString("LoaderActionsPanel.jButton5.text"));
192
        downButton.setEnabled(false);
187
        downButton.setEnabled(false);
193
        downButton.addActionListener(new java.awt.event.ActionListener() {
188
        downButton.addActionListener(new java.awt.event.ActionListener() {
194
            public void actionPerformed(java.awt.event.ActionEvent evt) {
189
            public void actionPerformed(java.awt.event.ActionEvent evt) {
195
                downButtonActionPerformed(evt);
190
                downButtonActionPerformed(evt);
196
            }
191
            }
197
        });
192
        });
198
        
193
199
        gridBagConstraints1 = new java.awt.GridBagConstraints();
194
        gridBagConstraints = new java.awt.GridBagConstraints();
200
        gridBagConstraints1.gridx = 0;
195
        gridBagConstraints.gridx = 0;
201
        gridBagConstraints1.gridy = 4;
196
        gridBagConstraints.gridy = 4;
202
        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
197
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
203
        jPanel1.add(downButton, gridBagConstraints1);
198
        jPanel1.add(downButton, gridBagConstraints);
204
        
199
205
        jPanel2.add(jPanel1);
200
        jPanel2.add(jPanel1);
206
        
201
207
        add(jPanel2, java.awt.BorderLayout.EAST);
202
        add(jPanel2, java.awt.BorderLayout.EAST);
208
        
203
209
    }//GEN-END:initComponents
204
    }//GEN-END:initComponents
210
205
211
    private void listValueChanged (javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_listValueChanged
206
    private void listValueChanged (javax.swing.event.ListSelectionEvent evt) {//GEN-FIRST:event_listValueChanged
Lines 264-283 Link Here
264
    }//GEN-LAST:event_addButtonActionPerformed
259
    }//GEN-LAST:event_addButtonActionPerformed
265
260
266
261
267
    // Variables declaration - do not modify//GEN-BEGIN:variables
262
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
268
    private javax.swing.JSplitPane splitPane;
269
    private org.openide.explorer.ExplorerPanel explorerPanel;
270
    private org.openide.explorer.view.BeanTreeView beanTreeView2;
271
    private javax.swing.JScrollPane jScrollPane1;
263
    private javax.swing.JScrollPane jScrollPane1;
272
    private javax.swing.JList list;
264
    private org.openide.explorer.view.BeanTreeView beanTreeView2;
265
    private javax.swing.JButton upButton;
273
    private javax.swing.JPanel jPanel2;
266
    private javax.swing.JPanel jPanel2;
267
    private javax.swing.JList list;
268
    private org.openide.explorer.ExplorerPanel explorerPanel;
269
    private javax.swing.JButton separatorButton;
274
    private javax.swing.JPanel jPanel1;
270
    private javax.swing.JPanel jPanel1;
271
    private javax.swing.JSplitPane splitPane;
272
    private javax.swing.JButton downButton;
275
    private javax.swing.JButton addButton;
273
    private javax.swing.JButton addButton;
276
    private javax.swing.JButton separatorButton;
277
    private javax.swing.JButton removeButton;
274
    private javax.swing.JButton removeButton;
278
    private javax.swing.JButton upButton;
275
    // ????? ?????????? ??????????//GEN-END:variables
279
    private javax.swing.JButton downButton;
280
    // End of variables declaration//GEN-END:variables
281
276
282
    /** Try to find a system action instance among a set of nodes. */
277
    /** Try to find a system action instance among a set of nodes. */
283
    private static SystemAction findAction (Node[] nodes) {
278
    private static SystemAction findAction (Node[] nodes) {
(-)core/src/org/netbeans/beaninfo/editors/Bundle.properties (-72 / +36 lines)
Lines 67-76 Link Here
67
67
68
#DimensionCustomEditor
68
#DimensionCustomEditor
69
CTL_Dimension=Dimension
69
CTL_Dimension=Dimension
70
CTL_Width=Width:
70
CTL_Width=&Width:
71
CTL_Width_mnemonic=W
71
CTL_Height=&Height:
72
CTL_Height=Height:
73
CTL_Height_mnemonic=H
74
ACSD_CTL_Width=N/A
72
ACSD_CTL_Width=N/A
75
ACSD_CTL_Height=N/A
73
ACSD_CTL_Height=N/A
76
ACSD_DimensionCustomEditor=N/A
74
ACSD_DimensionCustomEditor=N/A
Lines 88-99 Link Here
88
CTL_Bold=Bold
86
CTL_Bold=Bold
89
CTL_Italic=Italic
87
CTL_Italic=Italic
90
CTL_BoldItalic=Bold Italic
88
CTL_BoldItalic=Bold Italic
91
CTL_Font=Font:
89
CTL_Font=Fon&t:
92
CTL_Font_mnemonic=t
90
CTL_FontStyle=Font St&yle:
93
CTL_FontStyle=Font Style:
91
CTL_Size=&Size:
94
CTL_FontStyle_mnemonic=y
95
CTL_Size=Size:
96
CTL_Size_mnemonic=S
97
CTL_Preview=Preview
92
CTL_Preview=Preview
98
ACSD_CTL_Font=N/A
93
ACSD_CTL_Font=N/A
99
ACSD_CTL_FontStyle=N/A
94
ACSD_CTL_FontStyle=N/A
Lines 102-115 Link Here
102
97
103
#InsetsCustomEditor
98
#InsetsCustomEditor
104
CTL_Insets=Insets
99
CTL_Insets=Insets
105
CTL_Top=Top:
100
CTL_Top=&Top:
106
CTL_Top_Mnemonic=T
101
CTL_Left=&Left:
107
CTL_Left=Left:
102
CTL_Bottom=&Bottom:
108
CTL_Left_Mnemonic=L
103
CTL_Right=&Right:
109
CTL_Bottom=Bottom:
110
CTL_Bottom_Mnemonic=B
111
CTL_Right=Right:
112
CTL_Right_Mnemonic=R
113
ACSD_CTL_Top=N/A
104
ACSD_CTL_Top=N/A
114
ACSD_CTL_Left=N/A
105
ACSD_CTL_Left=N/A
115
ACSD_CTL_Bottom=N/A
106
ACSD_CTL_Bottom=N/A
Lines 125-135 Link Here
125
116
126
#PointCustomEditor
117
#PointCustomEditor
127
CTL_Point=Point
118
CTL_Point=Point
128
CTL_X=X:
119
CTL_X=&X:
129
CTL_X_Mnemonic=X
130
ACSD_CTL_X=N/A
120
ACSD_CTL_X=N/A
131
CTL_Y=Y:
121
CTL_Y=&Y:
132
CTL_Y_Mnemonic=Y
133
ACSD_CTL_Y=N/A
122
ACSD_CTL_Y=N/A
134
ACSD_PointCustomEditor=N/A
123
ACSD_PointCustomEditor=N/A
135
124
Lines 176-202 Link Here
176
#CTL_Preset_label=Preset Name\:
165
#CTL_Preset_label=Preset Name\:
177
#CTL_TextProperties=<Properties>
166
#CTL_TextProperties=<Properties>
178
167
179
CTL_FileSystemPanel.originalRadioButton.text=Original (Old) Value
168
CTL_FileSystemPanel.originalRadioButton.text=Original (Old) &Value
180
CTL_FileSystemPanel.originalRadioButton.text_Mnemonic=V
169
CTL_FileSystemPanel.dirRadioButton.text=&Add Local Directory
181
CTL_FileSystemPanel.dirRadioButton.text=Add Local Directory
170
LAB_FileSystemPanel.dirLabel.text=&Directory:
182
CTL_FileSystemPanel.dirRadioButton.text_Mnemonic=A
183
LAB_FileSystemPanel.dirLabel.text=Directory:
184
LAB_FileSystemPanel.dirLabel.text_Mnemonic=D
185
LAB_FileSystemPanel.dirPathLabel.text=Not Used
171
LAB_FileSystemPanel.dirPathLabel.text=Not Used
186
CTL_FileSystemPanel.jarRadioButton.text=Add JAR File
172
CTL_FileSystemPanel.jarRadioButton.text=Add &JAR File
187
CTL_FileSystemPanel.jarRadioButton.text_Mnemonic=J
173
LAB_FileSystemPanel.jarLabel.text=JAR &File:
188
LAB_FileSystemPanel.jarLabel.text=JAR File:
189
LAB_FileSystemPanel.jarLabel.text_Mnemonic=F
190
LAB_FileSystemPanel.jarPathLabel.text=Not Used
174
LAB_FileSystemPanel.jarPathLabel.text=Not Used
191
CTL_FileSystemPanel.browseDirButton.text=Browse...
175
CTL_FileSystemPanel.browseDirButton.text=&Browse...
192
CTL_FileSystemPanel.browseDirButton.text_Mnemonic=B
176
CTL_FileSystemPanel.browseJarButton.text=B&rowse...
193
CTL_FileSystemPanel.browseJarButton.text=Browse...
194
CTL_FileSystemPanel.browseJarButton.text_Mnemonic=R
195
CTL_FileSystemPanel.browseJarButton.hint=Browse...
177
CTL_FileSystemPanel.browseJarButton.hint=Browse...
196
CTL_FileSystemPanel.otherRadioButton.text=Add (other file system type)
178
CTL_FileSystemPanel.otherRadioButton.text=Add (&other file system type)
197
CTL_FileSystemPanel.otherRadioButton.text_Mnemonic=O
179
LAB_FileSystemPanel.createLabel.text=&Type:
198
LAB_FileSystemPanel.createLabel.text=Type:
199
LAB_FileSystemPanel.createLabel.text_Mnemonic=T
200
CTL_FileSystemPanel.Jar_Dialog_Title=Add JAR File
180
CTL_FileSystemPanel.Jar_Dialog_Title=Add JAR File
201
CTL_FileSystemPanel.Approve_Button_Title=OK
181
CTL_FileSystemPanel.Approve_Button_Title=OK
202
CTL_FileSystemPanel.Local_Dialog_Title=Add Local Directory
182
CTL_FileSystemPanel.Local_Dialog_Title=Add Local Directory
Lines 212-226 Link Here
212
FMT_TemplateDefaultFolderName=newFolder
192
FMT_TemplateDefaultFolderName=newFolder
213
LAB_DefaultDataFolder=Default
193
LAB_DefaultDataFolder=Default
214
LAB_SelectPackageBorder=Select Package
194
LAB_SelectPackageBorder=Select Package
215
LAB_TargetLocationDescription=Target Location
195
LAB_TargetLocationDescription=&Target Location
216
LAB_package=Folder:
196
LAB_package=F&older:
217
LAB_directory=Directory:
197
LAB_directory=&Directory:
218
LAB_TargetLocationPanelName=Target Location
198
LAB_TargetLocationPanelName=Target Location
219
CTL_Create=Create
199
CTL_Create=&Create
220
LAB_TargetLocationDescription_mnemonic=T
221
LAB_package_mnemonic=O
222
LAB_directory_mnemonic=D
223
CTL_Create_mnemonic=C
224
200
225
ACSD_DataFolderTree=N/A
201
ACSD_DataFolderTree=N/A
226
ACSD_package=N/A
202
ACSD_package=N/A
Lines 247-262 Link Here
247
MSG_PropertiesComments=Commented properties can be lost after saving this change. Continue?
223
MSG_PropertiesComments=Commented properties can be lost after saving this change. Continue?
248
224
249
#ExtensionListCustomEditor
225
#ExtensionListCustomEditor
250
CTL_ELCE_Item=Item:
226
CTL_ELCE_Item=&Item:
251
CTL_ELCE_ItemList=Item List
227
CTL_ELCE_ItemList=Item &List
252
CTL_ELCE_Add=Add
228
CTL_ELCE_Add=&Add
253
CTL_ELCE_Change=Edit
229
CTL_ELCE_Change=&Edit
254
CTL_ELCE_Remove=Remove
230
CTL_ELCE_Remove=&Remove
255
CTL_ELCE_Item_Mnemonic=I
256
CTL_ELCE_ItemList_Mnemonic=L
257
CTL_ELCE_Add_Mnemonic=A
258
CTL_ELCE_Change_Mnemonic=E
259
CTL_ELCE_Remove_Mnemonic=R
260
ACSD_ELCE=N/A
231
ACSD_ELCE=N/A
261
ACSD_ELCE_Item=N/A
232
ACSD_ELCE_Item=N/A
262
ACSD_ELCE_ItemList=N/A
233
ACSD_ELCE_ItemList=N/A
Lines 271-295 Link Here
271
242
272
#StringArrayCustomEditor
243
#StringArrayCustomEditor
273
CTL_Empty=<empty>
244
CTL_Empty=<empty>
274
CTL_Item=Item:
245
CTL_Item=&Item:
275
CTL_Item_Mnemonic=I
276
ACSD_CTL_Item=N/A
246
ACSD_CTL_Item=N/A
277
CTL_ItemList=Item List
247
CTL_ItemList=Item &List
278
CTL_ItemList_Mnemonic=L
279
ACSD_CTL_ItemList=N/A
248
ACSD_CTL_ItemList=N/A
280
CTL_Add_StringArrayCustomEditor=Add
249
CTL_Add_StringArrayCustomEditor=&Add
281
CTL_Add_StringArrayCustomEditor_Mnemonic=A
282
ACSD_CTL_Add_StringArrayCustomEditor=N/A
250
ACSD_CTL_Add_StringArrayCustomEditor=N/A
283
CTL_Change_StringArrayCustomEditor=Edit
251
CTL_Change_StringArrayCustomEditor=&Edit
284
CTL_Change_StringArrayCustomEditor_Mnemonic=E
285
ACSD_CTL_Change_StringArrayCustomEditor=N/A
252
ACSD_CTL_Change_StringArrayCustomEditor=N/A
286
CTL_Remove=Remove
253
CTL_Remove=&Remove
287
CTL_Remove_Mnemonic=R
288
ACSD_CTL_Remove=N/A
254
ACSD_CTL_Remove=N/A
289
CTL_MoveUp=Up
255
CTL_MoveUp=&Up
290
CTL_MoveUp_Mnemonic=U
291
ACSD_CTL_MoveUp=N/A
256
ACSD_CTL_MoveUp=N/A
292
CTL_MoveDown=Down
257
CTL_MoveDown=Do&wn
293
CTL_MoveDown_Mnemonic=w
294
ACSD_CTL_MoveDown=N/A
258
ACSD_CTL_MoveDown=N/A
295
ACSD_StringArrayCustomEditor=N/A
259
ACSD_StringArrayCustomEditor=N/A
(-)core/src/org/netbeans/beaninfo/editors/DataFolderPanel.java (-16 / +11 lines)
Lines 102-112 Link Here
102
        packageName.getDocument().addDocumentListener(this);
102
        packageName.getDocument().addDocumentListener(this);
103
        packageName.unregisterKeyboardAction(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0));
103
        packageName.unregisterKeyboardAction(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0));
104
        
104
        
105
        descriptionLabel.setDisplayedMnemonic(getString("LAB_TargetLocationDescription_mnemonic").charAt(0));
106
        packageLabel.setDisplayedMnemonic(getString("LAB_package_mnemonic").charAt(0));
107
        dirLabel.setDisplayedMnemonic(getString("LAB_directory_mnemonic").charAt(0));
108
        createButton.setMnemonic(getString("CTL_Create_mnemonic").charAt(0));
109
        
110
        beanTreeView.getAccessibleContext().setAccessibleDescription(getString("ACSD_DataFolderTree"));
105
        beanTreeView.getAccessibleContext().setAccessibleDescription(getString("ACSD_DataFolderTree"));
111
        packageName.getAccessibleContext().setAccessibleDescription(getString("ACSD_package"));
106
        packageName.getAccessibleContext().setAccessibleDescription(getString("ACSD_package"));
112
        directoryName.getAccessibleContext().setAccessibleDescription(getString("ACSD_directory"));
107
        directoryName.getAccessibleContext().setAccessibleDescription(getString("ACSD_directory"));
Lines 167-173 Link Here
167
        packagesPanel.add(beanTreeView, gridBagConstraints);
162
        packagesPanel.add(beanTreeView, gridBagConstraints);
168
163
169
        descriptionLabel.setLabelFor(beanTreeView);
164
        descriptionLabel.setLabelFor(beanTreeView);
170
        descriptionLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_TargetLocationDescription"));
165
        org.openide.awt.Mnemonics.setLocalizedText(descriptionLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_TargetLocationDescription"));
171
        gridBagConstraints = new java.awt.GridBagConstraints();
166
        gridBagConstraints = new java.awt.GridBagConstraints();
172
        gridBagConstraints.gridx = 0;
167
        gridBagConstraints.gridx = 0;
173
        gridBagConstraints.gridy = 0;
168
        gridBagConstraints.gridy = 0;
Lines 177-183 Link Here
177
        packagesPanel.add(descriptionLabel, gridBagConstraints);
172
        packagesPanel.add(descriptionLabel, gridBagConstraints);
178
173
179
        packageLabel.setLabelFor(packageName);
174
        packageLabel.setLabelFor(packageName);
180
        packageLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_package"));
175
        org.openide.awt.Mnemonics.setLocalizedText(packageLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_package"));
181
        gridBagConstraints = new java.awt.GridBagConstraints();
176
        gridBagConstraints = new java.awt.GridBagConstraints();
182
        gridBagConstraints.gridx = 0;
177
        gridBagConstraints.gridx = 0;
183
        gridBagConstraints.gridy = 2;
178
        gridBagConstraints.gridy = 2;
Lines 194-200 Link Here
194
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 5);
189
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 5);
195
        packagesPanel.add(packageName, gridBagConstraints);
190
        packagesPanel.add(packageName, gridBagConstraints);
196
191
197
        dirLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_directory"));
192
        org.openide.awt.Mnemonics.setLocalizedText(dirLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_directory"));
198
        gridBagConstraints = new java.awt.GridBagConstraints();
193
        gridBagConstraints = new java.awt.GridBagConstraints();
199
        gridBagConstraints.gridx = 0;
194
        gridBagConstraints.gridx = 0;
200
        gridBagConstraints.gridy = 3;
195
        gridBagConstraints.gridy = 3;
Lines 210-216 Link Here
210
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
205
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
211
        packagesPanel.add(directoryName, gridBagConstraints);
206
        packagesPanel.add(directoryName, gridBagConstraints);
212
207
213
        createButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_Create"));
208
        org.openide.awt.Mnemonics.setLocalizedText(createButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_Create"));
214
        createButton.setEnabled(false);
209
        createButton.setEnabled(false);
215
        createButton.addActionListener(new java.awt.event.ActionListener() {
210
        createButton.addActionListener(new java.awt.event.ActionListener() {
216
            public void actionPerformed(java.awt.event.ActionEvent evt) {
211
            public void actionPerformed(java.awt.event.ActionEvent evt) {
Lines 244-259 Link Here
244
  }//GEN-LAST:event_createButtonActionPerformed
239
  }//GEN-LAST:event_createButtonActionPerformed
245
240
246
241
247
    // Variables declaration - do not modify//GEN-BEGIN:variables
242
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
248
    private javax.swing.JButton createButton;
249
    private javax.swing.JLabel packageLabel;
243
    private javax.swing.JLabel packageLabel;
250
    private org.openide.explorer.view.BeanTreeView beanTreeView;
251
    private javax.swing.JTextField packageName;
252
    private javax.swing.JTextField directoryName;
253
    private org.openide.explorer.ExplorerPanel packagesPanel;
244
    private org.openide.explorer.ExplorerPanel packagesPanel;
254
    private javax.swing.JLabel dirLabel;
245
    private javax.swing.JButton createButton;
246
    private javax.swing.JTextField directoryName;
255
    private javax.swing.JLabel descriptionLabel;
247
    private javax.swing.JLabel descriptionLabel;
256
    // End of variables declaration//GEN-END:variables
248
    private javax.swing.JLabel dirLabel;
249
    private javax.swing.JTextField packageName;
250
    private org.openide.explorer.view.BeanTreeView beanTreeView;
251
    // ????? ?????????? ??????????//GEN-END:variables
257
252
258
    //
253
    //
259
    // Filter to accept only folders
254
    // Filter to accept only folders
(-)core/src/org/netbeans/beaninfo/editors/DimensionCustomEditor.java (-4 / +4 lines)
Lines 46-56 Link Here
46
        
46
        
47
        if (dimension == null) dimension = new Dimension (0, 0);
47
        if (dimension == null) dimension = new Dimension (0, 0);
48
        jLabel1.setText(bundle.getString ("CTL_Dimension"));
48
        jLabel1.setText(bundle.getString ("CTL_Dimension"));
49
        widthLabel.setText (bundle.getString("CTL_Width"));
49
        org.openide.awt.Mnemonics.setLocalizedText(widthLabel,
50
        widthLabel.setDisplayedMnemonic(bundle.getString("CTL_Width_mnemonic").charAt(0));
50
                bundle.getString("CTL_Width"));
51
        widthLabel.setLabelFor(widthField);
51
        widthLabel.setLabelFor(widthField);
52
        heightLabel.setText (bundle.getString("CTL_Height"));
52
        org.openide.awt.Mnemonics.setLocalizedText(heightLabel,
53
        heightLabel.setDisplayedMnemonic(bundle.getString("CTL_Height_mnemonic").charAt(0));
53
                bundle.getString("CTL_Height"));
54
        heightLabel.setLabelFor(heightField);
54
        heightLabel.setLabelFor(heightField);
55
55
56
        widthField.setText ("" + dimension.width);    // NOI18N
56
        widthField.setText ("" + dimension.width);    // NOI18N
(-)core/src/org/netbeans/beaninfo/editors/ExtensionListCustomEditor.java (-11 / +10 lines)
Lines 70-86 Link Here
70
        ResourceBundle bundle = NbBundle.getBundle (
70
        ResourceBundle bundle = NbBundle.getBundle (
71
                                       ExtensionListCustomEditor.class);
71
                                       ExtensionListCustomEditor.class);
72
72
73
        itemLabel.setText (bundle.getString ("CTL_ELCE_Item"));
73
        org.openide.awt.Mnemonics.setLocalizedText(itemLabel,
74
        itemListLabel.setText(bundle.getString ("CTL_ELCE_ItemList"));
74
                bundle.getString ("CTL_ELCE_Item"));
75
        addButton.setText (bundle.getString ("CTL_ELCE_Add"));
75
        org.openide.awt.Mnemonics.setLocalizedText(itemListLabel,
76
        changeButton.setText (bundle.getString ("CTL_ELCE_Change"));
76
                bundle.getString ("CTL_ELCE_ItemList"));
77
        removeButton.setText (bundle.getString ("CTL_ELCE_Remove"));
77
        org.openide.awt.Mnemonics.setLocalizedText(addButton,
78
78
                bundle.getString ("CTL_ELCE_Add"));
79
        itemLabel.setDisplayedMnemonic(bundle.getString("CTL_ELCE_Item_Mnemonic").charAt(0));
79
        org.openide.awt.Mnemonics.setLocalizedText(changeButton,
80
        itemListLabel.setDisplayedMnemonic(bundle.getString("CTL_ELCE_ItemList_Mnemonic").charAt(0));
80
                bundle.getString ("CTL_ELCE_Change"));
81
        addButton.setMnemonic(bundle.getString("CTL_ELCE_Add_Mnemonic").charAt(0));
81
        org.openide.awt.Mnemonics.setLocalizedText(removeButton,
82
        changeButton.setMnemonic(bundle.getString("CTL_ELCE_Change_Mnemonic").charAt(0));
82
                bundle.getString ("CTL_ELCE_Remove"));
83
        removeButton.setMnemonic(bundle.getString("CTL_ELCE_Remove_Mnemonic").charAt(0));
84
83
85
        getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_ELCE"));
84
        getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_ELCE"));
86
        itemField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_ELCE_Item"));
85
        itemField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_ELCE_Item"));
(-)core/src/org/netbeans/beaninfo/editors/FileSystemPanel.form (-39 / +28 lines)
Lines 1-6 Link Here
1
<?xml version="1.0" encoding="UTF-8" ?>
1
<?xml version="1.0" encoding="UTF-8" ?>
2
2
3
<Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
3
<Form version="1.1">
4
  <NonVisualComponents>
4
  <NonVisualComponents>
5
    <Component class="javax.swing.ButtonGroup" name="group">
5
    <Component class="javax.swing.ButtonGroup" name="group">
6
    </Component>
6
    </Component>
Lines 21-28 Link Here
21
      </Border>
21
      </Border>
22
    </Property>
22
    </Property>
23
  </Properties>
23
  </Properties>
24
  <SyntheticProperties>
25
  </SyntheticProperties>
26
24
27
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
25
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
28
  <SubComponents>
26
  <SubComponents>
Lines 32-44 Link Here
32
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.originalRadioButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
30
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.originalRadioButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
33
        </Property>
31
        </Property>
34
      </Properties>
32
      </Properties>
35
36
      <Events>
33
      <Events>
37
        <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="originalRadioButtonItemStateChanged"/>
34
        <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="originalRadioButtonItemStateChanged"/>
38
      </Events>
35
      </Events>
39
      <Constraints>
36
      <Constraints>
40
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
37
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
41
          <GridBagConstraints anchor="18" fill="1" gridHeight="1" gridWidth="0" gridX="0" gridY="0" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="1.0" weightY="0.0"/>
38
          <GridBagConstraints gridX="0" gridY="0" gridWidth="0" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="1.0" weightY="0.0"/>
42
        </Constraint>
39
        </Constraint>
43
      </Constraints>
40
      </Constraints>
44
    </Component>
41
    </Component>
Lines 49-87 Link Here
49
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.dirRadioButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
46
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.dirRadioButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
50
        </Property>
47
        </Property>
51
      </Properties>
48
      </Properties>
52
53
      <Events>
49
      <Events>
54
        <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="dirRadioButtonItemStateChanged"/>
50
        <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="dirRadioButtonItemStateChanged"/>
55
      </Events>
51
      </Events>
56
      <Constraints>
52
      <Constraints>
57
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
53
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
58
          <GridBagConstraints anchor="10" fill="1" gridHeight="1" gridWidth="0" gridX="0" gridY="1" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
54
          <GridBagConstraints gridX="0" gridY="1" gridWidth="0" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
59
        </Constraint>
55
        </Constraint>
60
      </Constraints>
56
      </Constraints>
61
    </Component>
57
    </Component>
62
    <Component class="javax.swing.JLabel" name="dirLabel">
58
    <Component class="javax.swing.JLabel" name="dirLabel">
63
      <Properties>
59
      <Properties>
64
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
65
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="LAB_FileSystemPanel.dirLabel.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
66
        </Property>
67
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
60
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
68
          <Connection component="dirTextField" type="bean"/>
61
          <Connection component="dirTextField" type="bean"/>
69
        </Property>
62
        </Property>
63
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
64
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="LAB_FileSystemPanel.dirLabel.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
65
        </Property>
70
      </Properties>
66
      </Properties>
71
      <Constraints>
67
      <Constraints>
72
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
68
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
73
          <GridBagConstraints anchor="17" fill="0" gridHeight="1" gridWidth="1" gridX="0" gridY="2" insetsBottom="0" insetsLeft="24" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
69
          <GridBagConstraints gridX="0" gridY="2" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="24" insetsBottom="0" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
74
        </Constraint>
70
        </Constraint>
75
      </Constraints>
71
      </Constraints>
76
    </Component>
72
    </Component>
77
    <Component class="javax.swing.JTextField" name="dirTextField">
73
    <Component class="javax.swing.JTextField" name="dirTextField">
78
79
      <Events>
74
      <Events>
80
        <EventHandler event="focusLost" listener="java.awt.event.FocusListener" parameters="java.awt.event.FocusEvent" handler="dirTextFieldFocusLost"/>
75
        <EventHandler event="focusLost" listener="java.awt.event.FocusListener" parameters="java.awt.event.FocusEvent" handler="dirTextFieldFocusLost"/>
81
      </Events>
76
      </Events>
82
      <Constraints>
77
      <Constraints>
83
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
78
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
84
          <GridBagConstraints anchor="10" fill="2" gridHeight="1" gridWidth="1" gridX="1" gridY="2" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="1.0" weightY="0.0"/>
79
          <GridBagConstraints gridX="1" gridY="2" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="0.0"/>
85
        </Constraint>
80
        </Constraint>
86
      </Constraints>
81
      </Constraints>
87
    </Component>
82
    </Component>
Lines 91-103 Link Here
91
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.browseDirButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
86
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.browseDirButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
92
        </Property>
87
        </Property>
93
      </Properties>
88
      </Properties>
94
95
      <Events>
89
      <Events>
96
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseDirButtonActionPerformed"/>
90
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseDirButtonActionPerformed"/>
97
      </Events>
91
      </Events>
98
      <Constraints>
92
      <Constraints>
99
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
93
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
100
          <GridBagConstraints anchor="17" fill="0" gridHeight="1" gridWidth="0" gridX="2" gridY="2" insetsBottom="0" insetsLeft="8" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.1" weightY="0.0"/>
94
          <GridBagConstraints gridX="2" gridY="2" gridWidth="0" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="8" insetsBottom="0" insetsRight="0" anchor="17" weightX="0.1" weightY="0.0"/>
101
        </Constraint>
95
        </Constraint>
102
      </Constraints>
96
      </Constraints>
103
    </Component>
97
    </Component>
Lines 107-134 Link Here
107
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.jarRadioButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
101
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.jarRadioButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
108
        </Property>
102
        </Property>
109
      </Properties>
103
      </Properties>
110
111
      <Events>
104
      <Events>
112
        <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="jarRadioButtonItemStateChanged"/>
105
        <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="jarRadioButtonItemStateChanged"/>
113
      </Events>
106
      </Events>
114
      <Constraints>
107
      <Constraints>
115
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
108
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
116
          <GridBagConstraints anchor="10" fill="1" gridHeight="1" gridWidth="0" gridX="0" gridY="3" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
109
          <GridBagConstraints gridX="0" gridY="3" gridWidth="0" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
117
        </Constraint>
110
        </Constraint>
118
      </Constraints>
111
      </Constraints>
119
    </Component>
112
    </Component>
120
    <Component class="javax.swing.JLabel" name="jarLabel">
113
    <Component class="javax.swing.JLabel" name="jarLabel">
121
      <Properties>
114
      <Properties>
122
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
123
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="LAB_FileSystemPanel.jarLabel.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
124
        </Property>
125
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
115
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
126
          <Connection component="jarTextField" type="bean"/>
116
          <Connection component="jarTextField" type="bean"/>
127
        </Property>
117
        </Property>
118
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
119
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="LAB_FileSystemPanel.jarLabel.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
120
        </Property>
128
      </Properties>
121
      </Properties>
129
      <Constraints>
122
      <Constraints>
130
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
123
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
131
          <GridBagConstraints anchor="17" fill="0" gridHeight="1" gridWidth="1" gridX="0" gridY="4" insetsBottom="0" insetsLeft="24" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
124
          <GridBagConstraints gridX="0" gridY="4" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="24" insetsBottom="0" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
132
        </Constraint>
125
        </Constraint>
133
      </Constraints>
126
      </Constraints>
134
    </Component>
127
    </Component>
Lines 136-168 Link Here
136
      <Properties>
129
      <Properties>
137
        <Property name="enabled" type="boolean" value="false"/>
130
        <Property name="enabled" type="boolean" value="false"/>
138
      </Properties>
131
      </Properties>
139
140
      <Events>
132
      <Events>
141
        <EventHandler event="focusLost" listener="java.awt.event.FocusListener" parameters="java.awt.event.FocusEvent" handler="jarTextFieldFocusLost"/>
133
        <EventHandler event="focusLost" listener="java.awt.event.FocusListener" parameters="java.awt.event.FocusEvent" handler="jarTextFieldFocusLost"/>
142
      </Events>
134
      </Events>
143
      <Constraints>
135
      <Constraints>
144
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
136
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
145
          <GridBagConstraints anchor="10" fill="2" gridHeight="1" gridWidth="1" gridX="1" gridY="4" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="1.0" weightY="0.0"/>
137
          <GridBagConstraints gridX="1" gridY="4" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="0.0"/>
146
        </Constraint>
138
        </Constraint>
147
      </Constraints>
139
      </Constraints>
148
    </Component>
140
    </Component>
149
    <Component class="javax.swing.JButton" name="browseJarButton">
141
    <Component class="javax.swing.JButton" name="browseJarButton">
150
      <Properties>
142
      <Properties>
151
        <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
152
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.browseJarButton.hint" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
153
        </Property>
154
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
143
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
155
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.browseJarButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
144
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.browseJarButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
156
        </Property>
145
        </Property>
146
        <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
147
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.browseJarButton.hint" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
148
        </Property>
157
        <Property name="enabled" type="boolean" value="false"/>
149
        <Property name="enabled" type="boolean" value="false"/>
158
      </Properties>
150
      </Properties>
159
160
      <Events>
151
      <Events>
161
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseJarButtonActionPerformed"/>
152
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseJarButtonActionPerformed"/>
162
      </Events>
153
      </Events>
163
      <Constraints>
154
      <Constraints>
164
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
155
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
165
          <GridBagConstraints anchor="17" fill="0" gridHeight="1" gridWidth="0" gridX="2" gridY="4" insetsBottom="0" insetsLeft="8" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
156
          <GridBagConstraints gridX="2" gridY="4" gridWidth="0" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="8" insetsBottom="0" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
166
        </Constraint>
157
        </Constraint>
167
      </Constraints>
158
      </Constraints>
168
    </Component>
159
    </Component>
Lines 172-226 Link Here
172
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.otherRadioButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
163
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.otherRadioButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
173
        </Property>
164
        </Property>
174
      </Properties>
165
      </Properties>
175
176
      <Events>
166
      <Events>
177
        <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="otherRadioButtonItemStateChanged"/>
167
        <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="otherRadioButtonItemStateChanged"/>
178
      </Events>
168
      </Events>
179
      <Constraints>
169
      <Constraints>
180
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
170
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
181
          <GridBagConstraints anchor="10" fill="1" gridHeight="1" gridWidth="0" gridX="0" gridY="5" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
171
          <GridBagConstraints gridX="0" gridY="5" gridWidth="0" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
182
        </Constraint>
172
        </Constraint>
183
      </Constraints>
173
      </Constraints>
184
    </Component>
174
    </Component>
185
    <Component class="javax.swing.JLabel" name="createLabel">
175
    <Component class="javax.swing.JLabel" name="createLabel">
186
      <Properties>
176
      <Properties>
187
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
188
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="LAB_FileSystemPanel.createLabel.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
189
        </Property>
190
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
177
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
191
          <Connection component="typeComboBox" type="bean"/>
178
          <Connection component="typeComboBox" type="bean"/>
192
        </Property>
179
        </Property>
180
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
181
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="LAB_FileSystemPanel.createLabel.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
182
        </Property>
193
      </Properties>
183
      </Properties>
194
      <Constraints>
184
      <Constraints>
195
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
185
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
196
          <GridBagConstraints anchor="17" fill="0" gridHeight="1" gridWidth="1" gridX="0" gridY="6" insetsBottom="0" insetsLeft="24" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.1" weightY="0.0"/>
186
          <GridBagConstraints gridX="0" gridY="6" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="24" insetsBottom="0" insetsRight="0" anchor="17" weightX="0.1" weightY="0.0"/>
197
        </Constraint>
187
        </Constraint>
198
      </Constraints>
188
      </Constraints>
199
    </Component>
189
    </Component>
200
    <Component class="javax.swing.JComboBox" name="typeComboBox">
190
    <Component class="javax.swing.JComboBox" name="typeComboBox">
201
      <Properties>
191
      <Properties>
202
        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
192
        <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
203
          <Dimension value="[200, 25]"/>
193
          <Dimension value="[200, 25]"/>
204
        </Property>
194
        </Property>
205
        <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
195
        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
206
          <Dimension value="[200, 25]"/>
196
          <Dimension value="[200, 25]"/>
207
        </Property>
197
        </Property>
208
        <Property name="enabled" type="boolean" value="false"/>
198
        <Property name="enabled" type="boolean" value="false"/>
209
      </Properties>
199
      </Properties>
210
211
      <Events>
200
      <Events>
212
        <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="typeComboBoxItemStateChanged"/>
201
        <EventHandler event="itemStateChanged" listener="java.awt.event.ItemListener" parameters="java.awt.event.ItemEvent" handler="typeComboBoxItemStateChanged"/>
213
      </Events>
202
      </Events>
214
      <Constraints>
203
      <Constraints>
215
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
204
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
216
          <GridBagConstraints anchor="17" fill="0" gridHeight="1" gridWidth="1" gridX="1" gridY="6" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.8" weightY="0.0"/>
205
          <GridBagConstraints gridX="1" gridY="6" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="17" weightX="0.8" weightY="0.0"/>
217
        </Constraint>
206
        </Constraint>
218
      </Constraints>
207
      </Constraints>
219
    </Component>
208
    </Component>
220
    <Container class="org.openide.explorer.propertysheet.PropertySheet" name="propertySheet1">
209
    <Container class="org.openide.explorer.propertysheet.PropertySheet" name="propertySheet1">
221
      <Constraints>
210
      <Constraints>
222
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
211
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
223
          <GridBagConstraints anchor="10" fill="1" gridHeight="1" gridWidth="0" gridX="0" gridY="7" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="24" ipadX="0" ipadY="0" weightX="1.0" weightY="1.0"/>
212
          <GridBagConstraints gridX="0" gridY="7" gridWidth="0" gridHeight="1" fill="1" ipadX="0" ipadY="0" insetsTop="24" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="1.0"/>
224
        </Constraint>
213
        </Constraint>
225
      </Constraints>
214
      </Constraints>
226
215
(-)core/src/org/netbeans/beaninfo/editors/FileSystemPanel.java (-148 / +139 lines)
Lines 82-87 Link Here
82
        initialize();
82
        initialize();
83
    }
83
    }
84
    private void initComponents() {//GEN-BEGIN:initComponents
84
    private void initComponents() {//GEN-BEGIN:initComponents
85
        java.awt.GridBagConstraints gridBagConstraints;
86
85
        group = new javax.swing.ButtonGroup();
87
        group = new javax.swing.ButtonGroup();
86
        originalRadioButton = new javax.swing.JRadioButton();
88
        originalRadioButton = new javax.swing.JRadioButton();
87
        dirRadioButton = new javax.swing.JRadioButton();
89
        dirRadioButton = new javax.swing.JRadioButton();
Lines 96-280 Link Here
96
        createLabel = new javax.swing.JLabel();
98
        createLabel = new javax.swing.JLabel();
97
        typeComboBox = new javax.swing.JComboBox();
99
        typeComboBox = new javax.swing.JComboBox();
98
        propertySheet1 = new org.openide.explorer.propertysheet.PropertySheet();
100
        propertySheet1 = new org.openide.explorer.propertysheet.PropertySheet();
99
        
101
100
        
101
        setLayout(new java.awt.GridBagLayout());
102
        setLayout(new java.awt.GridBagLayout());
102
        java.awt.GridBagConstraints gridBagConstraints1;
103
103
        
104
        setBorder(new javax.swing.border.CompoundBorder(new javax.swing.border.TitledBorder(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.Border_Title")), new javax.swing.border.EmptyBorder(new java.awt.Insets(8, 8, 8, 8))));
104
        setBorder(new javax.swing.border.CompoundBorder(new javax.swing.border.TitledBorder(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.Border_Title")), new javax.swing.border.EmptyBorder(new java.awt.Insets(8, 8, 8, 8))));
105
        originalRadioButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.originalRadioButton.text"));
105
        org.openide.awt.Mnemonics.setLocalizedText(originalRadioButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.originalRadioButton.text"));
106
        originalRadioButton.addItemListener(new java.awt.event.ItemListener() {
106
        originalRadioButton.addItemListener(new java.awt.event.ItemListener() {
107
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
107
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
108
                originalRadioButtonItemStateChanged(evt);
108
                originalRadioButtonItemStateChanged(evt);
109
            }
109
            }
110
        });
110
        });
111
        
111
112
        gridBagConstraints1 = new java.awt.GridBagConstraints();
112
        gridBagConstraints = new java.awt.GridBagConstraints();
113
        gridBagConstraints1.gridx = 0;
113
        gridBagConstraints.gridx = 0;
114
        gridBagConstraints1.gridy = 0;
114
        gridBagConstraints.gridy = 0;
115
        gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER;
115
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
116
        gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
116
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
117
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTHWEST;
117
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
118
        gridBagConstraints1.weightx = 1.0;
118
        gridBagConstraints.weightx = 1.0;
119
        add(originalRadioButton, gridBagConstraints1);
119
        add(originalRadioButton, gridBagConstraints);
120
        
120
121
        dirRadioButton.setSelected(true);
121
        dirRadioButton.setSelected(true);
122
        dirRadioButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.dirRadioButton.text"));
122
        org.openide.awt.Mnemonics.setLocalizedText(dirRadioButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.dirRadioButton.text"));
123
        dirRadioButton.addItemListener(new java.awt.event.ItemListener() {
123
        dirRadioButton.addItemListener(new java.awt.event.ItemListener() {
124
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
124
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
125
                dirRadioButtonItemStateChanged(evt);
125
                dirRadioButtonItemStateChanged(evt);
126
            }
126
            }
127
        });
127
        });
128
        
128
129
        gridBagConstraints1 = new java.awt.GridBagConstraints();
129
        gridBagConstraints = new java.awt.GridBagConstraints();
130
        gridBagConstraints1.gridx = 0;
130
        gridBagConstraints.gridx = 0;
131
        gridBagConstraints1.gridy = 1;
131
        gridBagConstraints.gridy = 1;
132
        gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER;
132
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
133
        gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
133
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
134
        add(dirRadioButton, gridBagConstraints1);
134
        add(dirRadioButton, gridBagConstraints);
135
        
135
136
        dirLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.dirLabel.text"));
137
        dirLabel.setLabelFor(dirTextField);
136
        dirLabel.setLabelFor(dirTextField);
138
        gridBagConstraints1 = new java.awt.GridBagConstraints();
137
        org.openide.awt.Mnemonics.setLocalizedText(dirLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.dirLabel.text"));
139
        gridBagConstraints1.gridx = 0;
138
        gridBagConstraints = new java.awt.GridBagConstraints();
140
        gridBagConstraints1.gridy = 2;
139
        gridBagConstraints.gridx = 0;
141
        gridBagConstraints1.insets = new java.awt.Insets(0, 24, 0, 0);
140
        gridBagConstraints.gridy = 2;
142
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
141
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
143
        add(dirLabel, gridBagConstraints1);
142
        gridBagConstraints.insets = new java.awt.Insets(0, 24, 0, 0);
144
        
143
        add(dirLabel, gridBagConstraints);
144
145
        dirTextField.addFocusListener(new java.awt.event.FocusAdapter() {
145
        dirTextField.addFocusListener(new java.awt.event.FocusAdapter() {
146
            public void focusLost(java.awt.event.FocusEvent evt) {
146
            public void focusLost(java.awt.event.FocusEvent evt) {
147
                dirTextFieldFocusLost(evt);
147
                dirTextFieldFocusLost(evt);
148
            }
148
            }
149
        });
149
        });
150
        
150
151
        gridBagConstraints1 = new java.awt.GridBagConstraints();
151
        gridBagConstraints = new java.awt.GridBagConstraints();
152
        gridBagConstraints1.gridx = 1;
152
        gridBagConstraints.gridx = 1;
153
        gridBagConstraints1.gridy = 2;
153
        gridBagConstraints.gridy = 2;
154
        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
154
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
155
        gridBagConstraints1.weightx = 1.0;
155
        gridBagConstraints.weightx = 1.0;
156
        add(dirTextField, gridBagConstraints1);
156
        add(dirTextField, gridBagConstraints);
157
        
157
158
        browseDirButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseDirButton.text"));
158
        org.openide.awt.Mnemonics.setLocalizedText(browseDirButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseDirButton.text"));
159
        browseDirButton.addActionListener(new java.awt.event.ActionListener() {
159
        browseDirButton.addActionListener(new java.awt.event.ActionListener() {
160
            public void actionPerformed(java.awt.event.ActionEvent evt) {
160
            public void actionPerformed(java.awt.event.ActionEvent evt) {
161
                browseDirButtonActionPerformed(evt);
161
                browseDirButtonActionPerformed(evt);
162
            }
162
            }
163
        });
163
        });
164
        
164
165
        gridBagConstraints1 = new java.awt.GridBagConstraints();
165
        gridBagConstraints = new java.awt.GridBagConstraints();
166
        gridBagConstraints1.gridx = 2;
166
        gridBagConstraints.gridx = 2;
167
        gridBagConstraints1.gridy = 2;
167
        gridBagConstraints.gridy = 2;
168
        gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER;
168
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
169
        gridBagConstraints1.insets = new java.awt.Insets(0, 8, 0, 0);
169
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
170
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
170
        gridBagConstraints.weightx = 0.1;
171
        gridBagConstraints1.weightx = 0.1;
171
        gridBagConstraints.insets = new java.awt.Insets(0, 8, 0, 0);
172
        add(browseDirButton, gridBagConstraints1);
172
        add(browseDirButton, gridBagConstraints);
173
        
173
174
        jarRadioButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.jarRadioButton.text"));
174
        org.openide.awt.Mnemonics.setLocalizedText(jarRadioButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.jarRadioButton.text"));
175
        jarRadioButton.addItemListener(new java.awt.event.ItemListener() {
175
        jarRadioButton.addItemListener(new java.awt.event.ItemListener() {
176
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
176
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
177
                jarRadioButtonItemStateChanged(evt);
177
                jarRadioButtonItemStateChanged(evt);
178
            }
178
            }
179
        });
179
        });
180
        
180
181
        gridBagConstraints1 = new java.awt.GridBagConstraints();
181
        gridBagConstraints = new java.awt.GridBagConstraints();
182
        gridBagConstraints1.gridx = 0;
182
        gridBagConstraints.gridx = 0;
183
        gridBagConstraints1.gridy = 3;
183
        gridBagConstraints.gridy = 3;
184
        gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER;
184
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
185
        gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
185
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
186
        add(jarRadioButton, gridBagConstraints1);
186
        add(jarRadioButton, gridBagConstraints);
187
        
187
188
        jarLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.jarLabel.text"));
189
        jarLabel.setLabelFor(jarTextField);
188
        jarLabel.setLabelFor(jarTextField);
190
        gridBagConstraints1 = new java.awt.GridBagConstraints();
189
        org.openide.awt.Mnemonics.setLocalizedText(jarLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.jarLabel.text"));
191
        gridBagConstraints1.gridx = 0;
190
        gridBagConstraints = new java.awt.GridBagConstraints();
192
        gridBagConstraints1.gridy = 4;
191
        gridBagConstraints.gridx = 0;
193
        gridBagConstraints1.insets = new java.awt.Insets(0, 24, 0, 0);
192
        gridBagConstraints.gridy = 4;
194
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
193
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
195
        add(jarLabel, gridBagConstraints1);
194
        gridBagConstraints.insets = new java.awt.Insets(0, 24, 0, 0);
196
        
195
        add(jarLabel, gridBagConstraints);
196
197
        jarTextField.setEnabled(false);
197
        jarTextField.setEnabled(false);
198
        jarTextField.addFocusListener(new java.awt.event.FocusAdapter() {
198
        jarTextField.addFocusListener(new java.awt.event.FocusAdapter() {
199
            public void focusLost(java.awt.event.FocusEvent evt) {
199
            public void focusLost(java.awt.event.FocusEvent evt) {
200
                jarTextFieldFocusLost(evt);
200
                jarTextFieldFocusLost(evt);
201
            }
201
            }
202
        });
202
        });
203
        
203
204
        gridBagConstraints1 = new java.awt.GridBagConstraints();
204
        gridBagConstraints = new java.awt.GridBagConstraints();
205
        gridBagConstraints1.gridx = 1;
205
        gridBagConstraints.gridx = 1;
206
        gridBagConstraints1.gridy = 4;
206
        gridBagConstraints.gridy = 4;
207
        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
207
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
208
        gridBagConstraints1.weightx = 1.0;
208
        gridBagConstraints.weightx = 1.0;
209
        add(jarTextField, gridBagConstraints1);
209
        add(jarTextField, gridBagConstraints);
210
        
210
211
        org.openide.awt.Mnemonics.setLocalizedText(browseJarButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseJarButton.text"));
211
        browseJarButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseJarButton.hint"));
212
        browseJarButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseJarButton.hint"));
212
        browseJarButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseJarButton.text"));
213
        browseJarButton.setEnabled(false);
213
        browseJarButton.setEnabled(false);
214
        browseJarButton.addActionListener(new java.awt.event.ActionListener() {
214
        browseJarButton.addActionListener(new java.awt.event.ActionListener() {
215
            public void actionPerformed(java.awt.event.ActionEvent evt) {
215
            public void actionPerformed(java.awt.event.ActionEvent evt) {
216
                browseJarButtonActionPerformed(evt);
216
                browseJarButtonActionPerformed(evt);
217
            }
217
            }
218
        });
218
        });
219
        
219
220
        gridBagConstraints1 = new java.awt.GridBagConstraints();
220
        gridBagConstraints = new java.awt.GridBagConstraints();
221
        gridBagConstraints1.gridx = 2;
221
        gridBagConstraints.gridx = 2;
222
        gridBagConstraints1.gridy = 4;
222
        gridBagConstraints.gridy = 4;
223
        gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER;
223
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
224
        gridBagConstraints1.insets = new java.awt.Insets(0, 8, 0, 0);
224
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
225
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
225
        gridBagConstraints.insets = new java.awt.Insets(0, 8, 0, 0);
226
        add(browseJarButton, gridBagConstraints1);
226
        add(browseJarButton, gridBagConstraints);
227
        
227
228
        otherRadioButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.otherRadioButton.text"));
228
        org.openide.awt.Mnemonics.setLocalizedText(otherRadioButton,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.otherRadioButton.text"));
229
        otherRadioButton.addItemListener(new java.awt.event.ItemListener() {
229
        otherRadioButton.addItemListener(new java.awt.event.ItemListener() {
230
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
230
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
231
                otherRadioButtonItemStateChanged(evt);
231
                otherRadioButtonItemStateChanged(evt);
232
            }
232
            }
233
        });
233
        });
234
        
234
235
        gridBagConstraints1 = new java.awt.GridBagConstraints();
235
        gridBagConstraints = new java.awt.GridBagConstraints();
236
        gridBagConstraints1.gridx = 0;
236
        gridBagConstraints.gridx = 0;
237
        gridBagConstraints1.gridy = 5;
237
        gridBagConstraints.gridy = 5;
238
        gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER;
238
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
239
        gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
239
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
240
        add(otherRadioButton, gridBagConstraints1);
240
        add(otherRadioButton, gridBagConstraints);
241
        
241
242
        createLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.createLabel.text"));
243
        createLabel.setLabelFor(typeComboBox);
242
        createLabel.setLabelFor(typeComboBox);
244
        gridBagConstraints1 = new java.awt.GridBagConstraints();
243
        org.openide.awt.Mnemonics.setLocalizedText(createLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.createLabel.text"));
245
        gridBagConstraints1.gridx = 0;
244
        gridBagConstraints = new java.awt.GridBagConstraints();
246
        gridBagConstraints1.gridy = 6;
245
        gridBagConstraints.gridx = 0;
247
        gridBagConstraints1.insets = new java.awt.Insets(0, 24, 0, 0);
246
        gridBagConstraints.gridy = 6;
248
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
247
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
249
        gridBagConstraints1.weightx = 0.1;
248
        gridBagConstraints.weightx = 0.1;
250
        add(createLabel, gridBagConstraints1);
249
        gridBagConstraints.insets = new java.awt.Insets(0, 24, 0, 0);
251
        
250
        add(createLabel, gridBagConstraints);
252
        typeComboBox.setPreferredSize(new java.awt.Dimension(200, 25));
251
253
        typeComboBox.setMinimumSize(new java.awt.Dimension(200, 25));
252
        typeComboBox.setMinimumSize(new java.awt.Dimension(200, 25));
253
        typeComboBox.setPreferredSize(new java.awt.Dimension(200, 25));
254
        typeComboBox.setEnabled(false);
254
        typeComboBox.setEnabled(false);
255
        typeComboBox.addItemListener(new java.awt.event.ItemListener() {
255
        typeComboBox.addItemListener(new java.awt.event.ItemListener() {
256
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
256
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
257
                typeComboBoxItemStateChanged(evt);
257
                typeComboBoxItemStateChanged(evt);
258
            }
258
            }
259
        });
259
        });
260
        
260
261
        gridBagConstraints1 = new java.awt.GridBagConstraints();
261
        gridBagConstraints = new java.awt.GridBagConstraints();
262
        gridBagConstraints1.gridx = 1;
262
        gridBagConstraints.gridx = 1;
263
        gridBagConstraints1.gridy = 6;
263
        gridBagConstraints.gridy = 6;
264
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
264
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
265
        gridBagConstraints1.weightx = 0.8;
265
        gridBagConstraints.weightx = 0.8;
266
        add(typeComboBox, gridBagConstraints1);
266
        add(typeComboBox, gridBagConstraints);
267
        
267
268
        gridBagConstraints1 = new java.awt.GridBagConstraints();
268
        gridBagConstraints = new java.awt.GridBagConstraints();
269
        gridBagConstraints1.gridx = 0;
269
        gridBagConstraints.gridx = 0;
270
        gridBagConstraints1.gridy = 7;
270
        gridBagConstraints.gridy = 7;
271
        gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER;
271
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
272
        gridBagConstraints1.fill = java.awt.GridBagConstraints.BOTH;
272
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
273
        gridBagConstraints1.insets = new java.awt.Insets(24, 0, 0, 0);
273
        gridBagConstraints.weightx = 1.0;
274
        gridBagConstraints1.weightx = 1.0;
274
        gridBagConstraints.weighty = 1.0;
275
        gridBagConstraints1.weighty = 1.0;
275
        gridBagConstraints.insets = new java.awt.Insets(24, 0, 0, 0);
276
        add(propertySheet1, gridBagConstraints1);
276
        add(propertySheet1, gridBagConstraints);
277
        
277
278
    }//GEN-END:initComponents
278
    }//GEN-END:initComponents
279
    /** We check the path user typed in the jarTextField. If the path
279
    /** We check the path user typed in the jarTextField. If the path
280
     * is ok, we update the jarFS accordingly.
280
     * is ok, we update the jarFS accordingly.
Lines 509-530 Link Here
509
  }//GEN-LAST:event_selectExisting
509
  }//GEN-LAST:event_selectExisting
510
510
511
511
512
  // Variables declaration - do not modify//GEN-BEGIN:variables
512
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
513
  private javax.swing.ButtonGroup group;
513
    private javax.swing.JRadioButton originalRadioButton;
514
  private javax.swing.JRadioButton originalRadioButton;
514
    private javax.swing.JRadioButton dirRadioButton;
515
  private javax.swing.JRadioButton dirRadioButton;
515
    private javax.swing.JTextField dirTextField;
516
  private javax.swing.JLabel dirLabel;
516
    private javax.swing.JButton browseJarButton;
517
  private javax.swing.JTextField dirTextField;
517
    private javax.swing.JLabel createLabel;
518
  private javax.swing.JButton browseDirButton;
518
    private javax.swing.JTextField jarTextField;
519
  private javax.swing.JRadioButton jarRadioButton;
519
    private javax.swing.JLabel jarLabel;
520
  private javax.swing.JLabel jarLabel;
520
    private javax.swing.JRadioButton jarRadioButton;
521
  private javax.swing.JTextField jarTextField;
521
    private javax.swing.JButton browseDirButton;
522
  private javax.swing.JButton browseJarButton;
522
    private javax.swing.ButtonGroup group;
523
  private javax.swing.JRadioButton otherRadioButton;
523
    private javax.swing.JLabel dirLabel;
524
  private javax.swing.JLabel createLabel;
524
    private javax.swing.JComboBox typeComboBox;
525
  private javax.swing.JComboBox typeComboBox;
525
    private org.openide.explorer.propertysheet.PropertySheet propertySheet1;
526
  private org.openide.explorer.propertysheet.PropertySheet propertySheet1;
526
    private javax.swing.JRadioButton otherRadioButton;
527
  // End of variables declaration//GEN-END:variables
527
    // ????? ?????????? ??????????//GEN-END:variables
528
528
529
    /** Sets the edited node and sets the fs variable.*/
529
    /** Sets the edited node and sets the fs variable.*/
530
    private void setActiveFS(Node n, FileSystem f) {
530
    private void setActiveFS(Node n, FileSystem f) {
Lines 558-572 Link Here
558
        newTypeNames = (String[])c.toArray(new String[c.size()]);
558
        newTypeNames = (String[])c.toArray(new String[c.size()]);
559
        // set the names in typeCombobox
559
        // set the names in typeCombobox
560
        typeComboBox.setModel(new DefaultComboBoxModel(newTypeNames));
560
        typeComboBox.setModel(new DefaultComboBoxModel(newTypeNames));
561
        
562
        dirRadioButton.setMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.dirRadioButton.text_Mnemonic").charAt (0));
563
        jarRadioButton.setMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.jarRadioButton.text_Mnemonic").charAt (0));
564
        otherRadioButton.setMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.otherRadioButton.text_Mnemonic").charAt (0));
565
        dirLabel.setDisplayedMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.dirLabel.text_Mnemonic").charAt (0));
566
        jarLabel.setDisplayedMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.jarLabel.text_Mnemonic").charAt (0));
567
        createLabel.setDisplayedMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.createLabel.text_Mnemonic").charAt (0));
568
        browseDirButton.setMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseDirButton.text_Mnemonic").charAt (0));
569
        browseJarButton.setMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseJarButton.text_Mnemonic").charAt (0));
570
        
561
        
571
        group.add(originalRadioButton);
562
        group.add(originalRadioButton);
572
        group.add(dirRadioButton);
563
        group.add(dirRadioButton);
(-)core/src/org/netbeans/beaninfo/editors/FontEditor.java (-6 / +6 lines)
Lines 188-210 Link Here
188
            c.weightx = 1.0;
188
            c.weightx = 1.0;
189
            c.insets = new Insets (0, 0, 0, 0);
189
            c.insets = new Insets (0, 0, 0, 0);
190
            c.anchor = GridBagConstraints.WEST;
190
            c.anchor = GridBagConstraints.WEST;
191
            JLabel l = new JLabel (bundle.getString ("CTL_Font"));                    //NoI18N
191
            JLabel l = new JLabel ();
192
            l.setDisplayedMnemonic(bundle.getString ("CTL_Font_mnemonic").charAt(0)); //NoI18N
192
            org.openide.awt.Mnemonics.setLocalizedText(l,bundle.getString ("CTL_Font")); //NoI18N
193
            l.setLabelFor(lFont);
193
            l.setLabelFor(lFont);
194
            la.setConstraints (l, c);
194
            la.setConstraints (l, c);
195
            add (l);
195
            add (l);
196
196
197
            c.insets = new Insets (0, 5, 0, 0);
197
            c.insets = new Insets (0, 5, 0, 0);
198
            l = new JLabel (bundle.getString ("CTL_FontStyle"));                           //NoI18N
198
            l = new JLabel ();
199
            l.setDisplayedMnemonic(bundle.getString ("CTL_FontStyle_mnemonic").charAt(0)); //NoI18N
199
            org.openide.awt.Mnemonics.setLocalizedText(l,bundle.getString ("CTL_FontStyle"));                           //NoI18N
200
            l.setLabelFor(lStyle);
200
            l.setLabelFor(lStyle);
201
            la.setConstraints (l, c);
201
            la.setConstraints (l, c);
202
            add (l);
202
            add (l);
203
203
204
            c.insets = new Insets (0, 5, 0, 0);
204
            c.insets = new Insets (0, 5, 0, 0);
205
            c.gridwidth = GridBagConstraints.REMAINDER;
205
            c.gridwidth = GridBagConstraints.REMAINDER;
206
            l = new JLabel (bundle.getString ("CTL_Size"));                           //NoI18N
206
            l = new JLabel ();
207
            l.setDisplayedMnemonic(bundle.getString ("CTL_Size_mnemonic").charAt(0)); //NoI18N
207
            org.openide.awt.Mnemonics.setLocalizedText(l,bundle.getString ("CTL_Size"));                           //NoI18N
208
            l.setLabelFor(tfSize);
208
            l.setLabelFor(tfSize);
209
            la.setConstraints (l, c);
209
            la.setConstraints (l, c);
210
            add (l);
210
            add (l);
(-)core/src/org/netbeans/beaninfo/editors/InsetsCustomEditor.form (-7 / +3 lines)
Lines 1-9 Link Here
1
<?xml version="1.0" encoding="UTF-8" ?>
1
<?xml version="1.0" encoding="UTF-8" ?>
2
2
3
<Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
3
<Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
4
  <SyntheticProperties>
4
  <AuxValues>
5
    <SyntheticProperty name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
5
    <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
6
  </SyntheticProperties>
6
  </AuxValues>
7
7
8
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
8
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
9
  <SubComponents>
9
  <SubComponents>
Lines 29-35 Link Here
29
          </Constraints>
29
          </Constraints>
30
        </Component>
30
        </Component>
31
        <Component class="javax.swing.JTextField" name="topField">
31
        <Component class="javax.swing.JTextField" name="topField">
32
33
          <Events>
32
          <Events>
34
            <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="fieldKeyPressed"/>
33
            <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="fieldKeyPressed"/>
35
          </Events>
34
          </Events>
Lines 52-58 Link Here
52
          </Constraints>
51
          </Constraints>
53
        </Component>
52
        </Component>
54
        <Component class="javax.swing.JTextField" name="leftField">
53
        <Component class="javax.swing.JTextField" name="leftField">
55
56
          <Events>
54
          <Events>
57
            <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="fieldKeyPressed"/>
55
            <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="fieldKeyPressed"/>
58
          </Events>
56
          </Events>
Lines 75-81 Link Here
75
          </Constraints>
73
          </Constraints>
76
        </Component>
74
        </Component>
77
        <Component class="javax.swing.JTextField" name="bottomField">
75
        <Component class="javax.swing.JTextField" name="bottomField">
78
79
          <Events>
76
          <Events>
80
            <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="fieldKeyPressed"/>
77
            <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="fieldKeyPressed"/>
81
          </Events>
78
          </Events>
Lines 98-104 Link Here
98
          </Constraints>
95
          </Constraints>
99
        </Component>
96
        </Component>
100
        <Component class="javax.swing.JTextField" name="rightField">
97
        <Component class="javax.swing.JTextField" name="rightField">
101
102
          <Events>
98
          <Events>
103
            <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="fieldKeyPressed"/>
99
            <EventHandler event="keyPressed" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="fieldKeyPressed"/>
104
          </Events>
100
          </Events>
(-)core/src/org/netbeans/beaninfo/editors/InsetsCustomEditor.java (-16 / +11 lines)
Lines 57-67 Link Here
57
        bottomLabel.setLabelFor(bottomField);
57
        bottomLabel.setLabelFor(bottomField);
58
        rightLabel.setLabelFor(rightField);
58
        rightLabel.setLabelFor(rightField);
59
        
59
        
60
        topLabel.setDisplayedMnemonic(bundle.getString("CTL_Top_Mnemonic").charAt(0));
61
        leftLabel.setDisplayedMnemonic(bundle.getString("CTL_Left_Mnemonic").charAt(0));
62
        bottomLabel.setDisplayedMnemonic(bundle.getString("CTL_Bottom_Mnemonic").charAt(0));
63
        rightLabel.setDisplayedMnemonic(bundle.getString("CTL_Right_Mnemonic").charAt(0));
64
65
        topField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_Top"));
60
        topField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_Top"));
66
        leftField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_Left"));
61
        leftField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_Left"));
67
        bottomField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_Bottom"));
62
        bottomField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_Bottom"));
Lines 118-124 Link Here
118
113
119
        jPanel2.setLayout(new java.awt.GridBagLayout());
114
        jPanel2.setLayout(new java.awt.GridBagLayout());
120
115
121
        topLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_Top"));
116
        org.openide.awt.Mnemonics.setLocalizedText(topLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_Top"));
122
        gridBagConstraints = new java.awt.GridBagConstraints();
117
        gridBagConstraints = new java.awt.GridBagConstraints();
123
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
118
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
124
        jPanel2.add(topLabel, gridBagConstraints);
119
        jPanel2.add(topLabel, gridBagConstraints);
Lines 136-142 Link Here
136
        gridBagConstraints.insets = new java.awt.Insets(4, 8, 4, 0);
131
        gridBagConstraints.insets = new java.awt.Insets(4, 8, 4, 0);
137
        jPanel2.add(topField, gridBagConstraints);
132
        jPanel2.add(topField, gridBagConstraints);
138
133
139
        leftLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_Left"));
134
        org.openide.awt.Mnemonics.setLocalizedText(leftLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_Left"));
140
        gridBagConstraints = new java.awt.GridBagConstraints();
135
        gridBagConstraints = new java.awt.GridBagConstraints();
141
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
136
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
142
        jPanel2.add(leftLabel, gridBagConstraints);
137
        jPanel2.add(leftLabel, gridBagConstraints);
Lines 154-160 Link Here
154
        gridBagConstraints.insets = new java.awt.Insets(4, 8, 4, 0);
149
        gridBagConstraints.insets = new java.awt.Insets(4, 8, 4, 0);
155
        jPanel2.add(leftField, gridBagConstraints);
150
        jPanel2.add(leftField, gridBagConstraints);
156
151
157
        bottomLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_Bottom"));
152
        org.openide.awt.Mnemonics.setLocalizedText(bottomLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_Bottom"));
158
        gridBagConstraints = new java.awt.GridBagConstraints();
153
        gridBagConstraints = new java.awt.GridBagConstraints();
159
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
154
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
160
        jPanel2.add(bottomLabel, gridBagConstraints);
155
        jPanel2.add(bottomLabel, gridBagConstraints);
Lines 172-178 Link Here
172
        gridBagConstraints.insets = new java.awt.Insets(4, 8, 4, 0);
167
        gridBagConstraints.insets = new java.awt.Insets(4, 8, 4, 0);
173
        jPanel2.add(bottomField, gridBagConstraints);
168
        jPanel2.add(bottomField, gridBagConstraints);
174
169
175
        rightLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_Right"));
170
        org.openide.awt.Mnemonics.setLocalizedText(rightLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_Right"));
176
        gridBagConstraints = new java.awt.GridBagConstraints();
171
        gridBagConstraints = new java.awt.GridBagConstraints();
177
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
172
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
178
        jPanel2.add(rightLabel, gridBagConstraints);
173
        jPanel2.add(rightLabel, gridBagConstraints);
Lines 211-227 Link Here
211
        }
206
        }
212
    }
207
    }
213
208
214
    // Variables declaration - do not modify//GEN-BEGIN:variables
209
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
215
    private javax.swing.JLabel topLabel;
210
    private javax.swing.JLabel rightLabel;
211
    private javax.swing.JLabel bottomLabel;
216
    private javax.swing.JTextField topField;
212
    private javax.swing.JTextField topField;
217
    private javax.swing.JLabel leftLabel;
218
    private javax.swing.JTextField leftField;
213
    private javax.swing.JTextField leftField;
219
    private javax.swing.JPanel jPanel2;
214
    private javax.swing.JPanel jPanel2;
220
    private javax.swing.JLabel rightLabel;
215
    private javax.swing.JLabel topLabel;
221
    private javax.swing.JLabel bottomLabel;
222
    private javax.swing.JTextField rightField;
223
    private javax.swing.JTextField bottomField;
216
    private javax.swing.JTextField bottomField;
224
    // End of variables declaration//GEN-END:variables
217
    private javax.swing.JLabel leftLabel;
218
    private javax.swing.JTextField rightField;
219
    // ????? ?????????? ??????????//GEN-END:variables
225
220
226
    private InsetsEditor editor;
221
    private InsetsEditor editor;
227
222
(-)core/src/org/netbeans/beaninfo/editors/PointCustomEditor.form (-14 / +10 lines)
Lines 1-8 Link Here
1
<?xml version="1.0" encoding="UTF-8" ?>
1
<?xml version="1.0" encoding="UTF-8" ?>
2
2
3
<Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
3
<Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
4
  <SyntheticProperties>
5
  </SyntheticProperties>
6
4
7
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
5
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
8
  <SubComponents>
6
  <SubComponents>
Lines 17-69 Link Here
17
      <SubComponents>
15
      <SubComponents>
18
        <Component class="javax.swing.JLabel" name="xLabel">
16
        <Component class="javax.swing.JLabel" name="xLabel">
19
          <Properties>
17
          <Properties>
20
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
21
              <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_X" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
22
            </Property>
23
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
18
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
24
              <Connection component="xField" type="bean"/>
19
              <Connection component="xField" type="bean"/>
25
            </Property>
20
            </Property>
21
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
22
              <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_X" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
23
            </Property>
26
          </Properties>
24
          </Properties>
27
          <Constraints>
25
          <Constraints>
28
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
26
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
29
              <GridBagConstraints anchor="17" fill="0" gridHeight="1" gridWidth="1" gridX="-1" gridY="-1" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
27
              <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
30
            </Constraint>
28
            </Constraint>
31
          </Constraints>
29
          </Constraints>
32
        </Component>
30
        </Component>
33
        <Component class="javax.swing.JTextField" name="xField">
31
        <Component class="javax.swing.JTextField" name="xField">
34
35
          <Events>
32
          <Events>
36
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="updateInsets"/>
33
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="updateInsets"/>
37
          </Events>
34
          </Events>
38
          <Constraints>
35
          <Constraints>
39
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
36
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
40
              <GridBagConstraints anchor="10" fill="2" gridHeight="1" gridWidth="0" gridX="-1" gridY="-1" insetsBottom="4" insetsLeft="8" insetsRight="0" insetsTop="4" ipadX="0" ipadY="0" weightX="1.0" weightY="0.0"/>
37
              <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="8" insetsBottom="4" insetsRight="0" anchor="10" weightX="1.0" weightY="0.0"/>
41
            </Constraint>
38
            </Constraint>
42
          </Constraints>
39
          </Constraints>
43
        </Component>
40
        </Component>
44
        <Component class="javax.swing.JLabel" name="yLabel">
41
        <Component class="javax.swing.JLabel" name="yLabel">
45
          <Properties>
42
          <Properties>
46
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
47
              <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_Y" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
48
            </Property>
49
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
43
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
50
              <Connection component="yField" type="bean"/>
44
              <Connection component="yField" type="bean"/>
51
            </Property>
45
            </Property>
46
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
47
              <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_Y" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
48
            </Property>
52
          </Properties>
49
          </Properties>
53
          <Constraints>
50
          <Constraints>
54
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
51
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
55
              <GridBagConstraints anchor="17" fill="0" gridHeight="1" gridWidth="1" gridX="-1" gridY="-1" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
52
              <GridBagConstraints gridX="-1" gridY="-1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
56
            </Constraint>
53
            </Constraint>
57
          </Constraints>
54
          </Constraints>
58
        </Component>
55
        </Component>
59
        <Component class="javax.swing.JTextField" name="yField">
56
        <Component class="javax.swing.JTextField" name="yField">
60
61
          <Events>
57
          <Events>
62
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="updateInsets"/>
58
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="updateInsets"/>
63
          </Events>
59
          </Events>
64
          <Constraints>
60
          <Constraints>
65
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
61
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
66
              <GridBagConstraints anchor="10" fill="2" gridHeight="1" gridWidth="0" gridX="-1" gridY="-1" insetsBottom="4" insetsLeft="8" insetsRight="0" insetsTop="4" ipadX="0" ipadY="0" weightX="1.0" weightY="0.0"/>
62
              <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="4" insetsLeft="8" insetsBottom="4" insetsRight="0" anchor="10" weightX="1.0" weightY="0.0"/>
67
            </Constraint>
63
            </Constraint>
68
          </Constraints>
64
          </Constraints>
69
        </Component>
65
        </Component>
(-)core/src/org/netbeans/beaninfo/editors/PointCustomEditor.java (-42 / +40 lines)
Lines 45-53 Link Here
45
        xField.setText (""+point.x); // NOI18N
45
        xField.setText (""+point.x); // NOI18N
46
        yField.setText (""+point.y); // NOI18N
46
        yField.setText (""+point.y); // NOI18N
47
        
47
        
48
        xLabel.setDisplayedMnemonic(bundle.getString("CTL_X_Mnemonic").charAt(0));
49
        yLabel.setDisplayedMnemonic(bundle.getString("CTL_Y_Mnemonic").charAt(0));
50
51
        xField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_X"));
48
        xField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_X"));
52
        yField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_Y"));
49
        yField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_Y"));
53
        
50
        
Lines 64-74 Link Here
64
        xField.setText ("" + dimension.width);    // NOI18N
61
        xField.setText ("" + dimension.width);    // NOI18N
65
        yField.setText ("" + dimension.height);  // NOI18N
62
        yField.setText ("" + dimension.height);  // NOI18N
66
        
63
        
67
        xLabel.setText (bundle.getString("CTL_Width"));
64
        org.openide.awt.Mnemonics.setLocalizedText(xLabel,
68
        xLabel.setDisplayedMnemonic(bundle.getString("CTL_Width_mnemonic").charAt(0));
65
                bundle.getString("CTL_Width"));
69
        xLabel.setLabelFor(xField);
66
        xLabel.setLabelFor(xField);
70
        yLabel.setText (bundle.getString("CTL_Height"));
67
        org.openide.awt.Mnemonics.setLocalizedText(yLabel,
71
        yLabel.setDisplayedMnemonic(bundle.getString("CTL_Height_mnemonic").charAt(0));
68
                bundle.getString("CTL_Height"));
72
        yLabel.setLabelFor(yField);
69
        yLabel.setLabelFor(yField);
73
70
74
        xField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_Width"));
71
        xField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_Width"));
Lines 123-179 Link Here
123
     * always regenerated by the FormEditor.
120
     * always regenerated by the FormEditor.
124
     */
121
     */
125
    private void initComponents() {//GEN-BEGIN:initComponents
122
    private void initComponents() {//GEN-BEGIN:initComponents
123
        java.awt.GridBagConstraints gridBagConstraints;
124
126
        insidePanel = new javax.swing.JPanel();
125
        insidePanel = new javax.swing.JPanel();
127
        xLabel = new javax.swing.JLabel();
126
        xLabel = new javax.swing.JLabel();
128
        xField = new javax.swing.JTextField();
127
        xField = new javax.swing.JTextField();
129
        yLabel = new javax.swing.JLabel();
128
        yLabel = new javax.swing.JLabel();
130
        yField = new javax.swing.JTextField();
129
        yField = new javax.swing.JTextField();
131
        
130
132
        setLayout(new java.awt.BorderLayout());
131
        setLayout(new java.awt.BorderLayout());
133
        
132
134
        insidePanel.setLayout(new java.awt.GridBagLayout());
133
        insidePanel.setLayout(new java.awt.GridBagLayout());
135
        java.awt.GridBagConstraints gridBagConstraints1;
134
136
        
137
        xLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_X"));
138
        xLabel.setLabelFor(xField);
135
        xLabel.setLabelFor(xField);
139
        gridBagConstraints1 = new java.awt.GridBagConstraints();
136
        org.openide.awt.Mnemonics.setLocalizedText(xLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_X"));
140
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
137
        gridBagConstraints = new java.awt.GridBagConstraints();
141
        insidePanel.add(xLabel, gridBagConstraints1);
138
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
142
        
139
        insidePanel.add(xLabel, gridBagConstraints);
140
143
        xField.addActionListener(new java.awt.event.ActionListener() {
141
        xField.addActionListener(new java.awt.event.ActionListener() {
144
            public void actionPerformed(java.awt.event.ActionEvent evt) {
142
            public void actionPerformed(java.awt.event.ActionEvent evt) {
145
                updateInsets(evt);
143
                updateInsets(evt);
146
            }
144
            }
147
        });
145
        });
148
        
146
149
        gridBagConstraints1 = new java.awt.GridBagConstraints();
147
        gridBagConstraints = new java.awt.GridBagConstraints();
150
        gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER;
148
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
151
        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
149
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
152
        gridBagConstraints1.insets = new java.awt.Insets(4, 8, 4, 0);
150
        gridBagConstraints.weightx = 1.0;
153
        gridBagConstraints1.weightx = 1.0;
151
        gridBagConstraints.insets = new java.awt.Insets(4, 8, 4, 0);
154
        insidePanel.add(xField, gridBagConstraints1);
152
        insidePanel.add(xField, gridBagConstraints);
155
        
153
156
        yLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_Y"));
157
        yLabel.setLabelFor(yField);
154
        yLabel.setLabelFor(yField);
158
        gridBagConstraints1 = new java.awt.GridBagConstraints();
155
        org.openide.awt.Mnemonics.setLocalizedText(yLabel,java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_Y"));
159
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
156
        gridBagConstraints = new java.awt.GridBagConstraints();
160
        insidePanel.add(yLabel, gridBagConstraints1);
157
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
161
        
158
        insidePanel.add(yLabel, gridBagConstraints);
159
162
        yField.addActionListener(new java.awt.event.ActionListener() {
160
        yField.addActionListener(new java.awt.event.ActionListener() {
163
            public void actionPerformed(java.awt.event.ActionEvent evt) {
161
            public void actionPerformed(java.awt.event.ActionEvent evt) {
164
                updateInsets(evt);
162
                updateInsets(evt);
165
            }
163
            }
166
        });
164
        });
167
        
165
168
        gridBagConstraints1 = new java.awt.GridBagConstraints();
166
        gridBagConstraints = new java.awt.GridBagConstraints();
169
        gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER;
167
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
170
        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
168
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
171
        gridBagConstraints1.insets = new java.awt.Insets(4, 8, 4, 0);
169
        gridBagConstraints.weightx = 1.0;
172
        gridBagConstraints1.weightx = 1.0;
170
        gridBagConstraints.insets = new java.awt.Insets(4, 8, 4, 0);
173
        insidePanel.add(yField, gridBagConstraints1);
171
        insidePanel.add(yField, gridBagConstraints);
174
        
172
175
        add(insidePanel, java.awt.BorderLayout.CENTER);
173
        add(insidePanel, java.awt.BorderLayout.CENTER);
176
        
174
177
    }//GEN-END:initComponents
175
    }//GEN-END:initComponents
178
176
179
177
Lines 191-203 Link Here
191
    }//GEN-LAST:event_updateInsets
189
    }//GEN-LAST:event_updateInsets
192
190
193
191
194
    // Variables declaration - do not modify//GEN-BEGIN:variables
192
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
195
    private javax.swing.JPanel insidePanel;
193
    private javax.swing.JLabel yLabel;
196
    private javax.swing.JLabel xLabel;
194
    private javax.swing.JLabel xLabel;
197
    private javax.swing.JTextField xField;
195
    private javax.swing.JTextField xField;
198
    private javax.swing.JLabel yLabel;
196
    private javax.swing.JPanel insidePanel;
199
    private javax.swing.JTextField yField;
197
    private javax.swing.JTextField yField;
200
    // End of variables declaration//GEN-END:variables
198
    // ????? ?????????? ??????????//GEN-END:variables
201
199
202
    private ArrayOfIntSupport editor;
200
    private ArrayOfIntSupport editor;
203
201
(-)core/src/org/netbeans/beaninfo/editors/RectangleCustomEditor.java (-9 / +8 lines)
Lines 50-69 Link Here
50
                                   " " + bundle.getString ("CTL_Rectangle") + " "),
50
                                   " " + bundle.getString ("CTL_Rectangle") + " "),
51
                               new javax.swing.border.EmptyBorder (new java.awt.Insets(5, 5, 5, 5))));
51
                               new javax.swing.border.EmptyBorder (new java.awt.Insets(5, 5, 5, 5))));
52
52
53
        xLabel.setText (bundle.getString ("CTL_X"));
53
        org.openide.awt.Mnemonics.setLocalizedText(xLabel,
54
        yLabel.setText (bundle.getString ("CTL_Y"));
54
                bundle.getString ("CTL_X"));
55
        widthLabel.setText (bundle.getString ("CTL_Width"));
55
        org.openide.awt.Mnemonics.setLocalizedText(yLabel,
56
        heightLabel.setText (bundle.getString ("CTL_Height"));
56
                bundle.getString ("CTL_Y"));
57
        org.openide.awt.Mnemonics.setLocalizedText(widthLabel,
58
                bundle.getString ("CTL_Width"));
59
        org.openide.awt.Mnemonics.setLocalizedText(heightLabel,
60
                bundle.getString ("CTL_Height"));
57
61
58
        xLabel.setLabelFor(xField);
62
        xLabel.setLabelFor(xField);
59
        yLabel.setLabelFor(yField);
63
        yLabel.setLabelFor(yField);
60
        widthLabel.setLabelFor(widthField);
64
        widthLabel.setLabelFor(widthField);
61
        heightLabel.setLabelFor(heightField);
65
        heightLabel.setLabelFor(heightField);
62
63
        xLabel.setDisplayedMnemonic(bundle.getString("CTL_X_Mnemonic").charAt(0));
64
        yLabel.setDisplayedMnemonic(bundle.getString("CTL_Y_Mnemonic").charAt(0));
65
        widthLabel.setDisplayedMnemonic(bundle.getString("CTL_Width_mnemonic").charAt(0));
66
        heightLabel.setDisplayedMnemonic(bundle.getString("CTL_Height_mnemonic").charAt(0));
67
66
68
        xField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_X"));
67
        xField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_X"));
69
        yField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_Y"));
68
        yField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_Y"));
(-)core/src/org/netbeans/beaninfo/editors/StringArrayCustomEditor.java (-15 / +14 lines)
Lines 56-76 Link Here
56
        setBorder (new javax.swing.border.EmptyBorder (new java.awt.Insets(16, 8, 8, 0)));
56
        setBorder (new javax.swing.border.EmptyBorder (new java.awt.Insets(16, 8, 8, 0)));
57
        buttonsPanel.setBorder (new javax.swing.border.EmptyBorder (new java.awt.Insets(0, 5, 5, 5)));
57
        buttonsPanel.setBorder (new javax.swing.border.EmptyBorder (new java.awt.Insets(0, 5, 5, 5)));
58
58
59
        itemLabel.setText (bundle.getString ("CTL_Item"));
59
        org.openide.awt.Mnemonics.setLocalizedText(itemLabel,
60
        itemListLabel.setText(bundle.getString ("CTL_ItemList"));
60
                bundle.getString ("CTL_Item"));
61
        addButton.setText (bundle.getString ("CTL_Add_StringArrayCustomEditor"));
61
        org.openide.awt.Mnemonics.setLocalizedText(itemListLabel,
62
        changeButton.setText (bundle.getString ("CTL_Change_StringArrayCustomEditor"));
62
                bundle.getString ("CTL_ItemList"));
63
        removeButton.setText (bundle.getString ("CTL_Remove"));
63
        org.openide.awt.Mnemonics.setLocalizedText(addButton,
64
        moveUpButton.setText (bundle.getString ("CTL_MoveUp"));
64
                bundle.getString ("CTL_Add_StringArrayCustomEditor"));
65
        moveDownButton.setText (bundle.getString ("CTL_MoveDown"));
65
        org.openide.awt.Mnemonics.setLocalizedText(changeButton,
66
66
                bundle.getString ("CTL_Change_StringArrayCustomEditor"));
67
        itemLabel.setDisplayedMnemonic(bundle.getString("CTL_Item_Mnemonic").charAt(0));
67
        org.openide.awt.Mnemonics.setLocalizedText(removeButton,
68
        itemListLabel.setDisplayedMnemonic(bundle.getString("CTL_ItemList_Mnemonic").charAt(0));
68
                bundle.getString ("CTL_Remove"));
69
        addButton.setMnemonic(bundle.getString("CTL_Add_StringArrayCustomEditor_Mnemonic").charAt(0));
69
        org.openide.awt.Mnemonics.setLocalizedText(moveUpButton,
70
        changeButton.setMnemonic(bundle.getString("CTL_Change_StringArrayCustomEditor_Mnemonic").charAt(0));
70
                bundle.getString ("CTL_MoveUp"));
71
        removeButton.setMnemonic(bundle.getString("CTL_Remove_Mnemonic").charAt(0));
71
        org.openide.awt.Mnemonics.setLocalizedText(moveDownButton,
72
        moveUpButton.setMnemonic(bundle.getString("CTL_MoveUp_Mnemonic").charAt(0));
72
                bundle.getString ("CTL_MoveDown"));
73
        moveDownButton.setMnemonic(bundle.getString("CTL_MoveDown_Mnemonic").charAt(0));
74
73
75
        getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_StringArrayCustomEditor"));
74
        getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_StringArrayCustomEditor"));
76
        itemField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_Item"));
75
        itemField.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_CTL_Item"));
(-)core/src/org/netbeans/core/ActionsPanel.java (-7 / +6 lines)
Lines 57-64 Link Here
57
        this.canChangeKey = canChangeKey;
57
        this.canChangeKey = canChangeKey;
58
        initComponents ();
58
        initComponents ();
59
        initAccessibility ();
59
        initAccessibility ();
60
        shortcutAddButton.setMnemonic(bundle.getString("ActionsPanel.shortcutAddButton.text_Mnemonic").charAt(0));
61
        shortcutRemoveButton.setMnemonic(bundle.getString("ActionsPanel.shortcutRemoveButton.text_Mnemonic").charAt(0));
62
60
63
        shortcutPanel.setBorder (new javax.swing.border.CompoundBorder(
61
        shortcutPanel.setBorder (new javax.swing.border.CompoundBorder(
64
                                     new javax.swing.border.TitledBorder(
62
                                     new javax.swing.border.TitledBorder(
Lines 180-186 Link Here
180
        shortcutsButtonsPanel.setLayout(new java.awt.GridBagLayout());
178
        shortcutsButtonsPanel.setLayout(new java.awt.GridBagLayout());
181
        java.awt.GridBagConstraints gridBagConstraints3;
179
        java.awt.GridBagConstraints gridBagConstraints3;
182
        
180
        
183
        shortcutAddButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ActionsPanel.shortcutAddButton.text"));
181
        org.openide.awt.Mnemonics.setLocalizedText(shortcutAddButton, java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ActionsPanel.shortcutAddButton.text"));
184
        shortcutAddButton.addActionListener(new java.awt.event.ActionListener() {
182
        shortcutAddButton.addActionListener(new java.awt.event.ActionListener() {
185
            public void actionPerformed(java.awt.event.ActionEvent evt) {
183
            public void actionPerformed(java.awt.event.ActionEvent evt) {
186
                shortcutAddButtonActionPerformed(evt);
184
                shortcutAddButtonActionPerformed(evt);
Lines 192-198 Link Here
192
        gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL;
190
        gridBagConstraints3.fill = java.awt.GridBagConstraints.HORIZONTAL;
193
        shortcutsButtonsPanel.add(shortcutAddButton, gridBagConstraints3);
191
        shortcutsButtonsPanel.add(shortcutAddButton, gridBagConstraints3);
194
        
192
        
195
        shortcutRemoveButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ActionsPanel.shortcutRemoveButton.text"));
193
        org.openide.awt.Mnemonics.setLocalizedText(shortcutRemoveButton, java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ActionsPanel.shortcutRemoveButton.text"));
196
        shortcutRemoveButton.addActionListener(new java.awt.event.ActionListener() {
194
        shortcutRemoveButton.addActionListener(new java.awt.event.ActionListener() {
197
            public void actionPerformed(java.awt.event.ActionEvent evt) {
195
            public void actionPerformed(java.awt.event.ActionEvent evt) {
198
                shortcutRemoveButtonActionPerformed(evt);
196
                shortcutRemoveButtonActionPerformed(evt);
Lines 387-393 Link Here
387
            }
385
            }
388
        }
386
        }
389
387
390
	public TreeNode getChildAt(int childIndex) { return  (TreeNode) actions.get(childIndex); }
388
    public TreeNode getChildAt(int childIndex) { return  (TreeNode) actions.get(childIndex); }
391
        public int getChildCount() { return actions.size (); }
389
        public int getChildCount() { return actions.size (); }
392
        public TreeNode getParent() { return parent; }
390
        public TreeNode getParent() { return parent; }
393
        public int getIndex(TreeNode node) { return actions.indexOf (node); }
391
        public int getIndex(TreeNode node) { return actions.indexOf (node); }
Lines 429-437 Link Here
429
        ShortcutEnterPanel (KeyStroke stroke) {
427
        ShortcutEnterPanel (KeyStroke stroke) {
430
            defaultStroke = stroke;
428
            defaultStroke = stroke;
431
429
432
            shortcutLabel = new javax.swing.JLabel (bundle.getString ("ActionsPanel.ShortcutLabel"));
430
            shortcutLabel = new javax.swing.JLabel ();
431
            org.openide.awt.Mnemonics.setLocalizedText(shortcutLabel,
432
                    bundle.getString ("ActionsPanel.ShortcutLabel"));
433
            shortcutField = new javax.swing.JTextField ();
433
            shortcutField = new javax.swing.JTextField ();
434
            shortcutLabel.setDisplayedMnemonic(bundle.getString("ActionsPanel.ShortcutLabel_Mnemonic").charAt(0));
435
            shortcutLabel.setLabelFor(shortcutField);
434
            shortcutLabel.setLabelFor(shortcutField);
436
            this.setLayout (new java.awt.GridBagLayout ());
435
            this.setLayout (new java.awt.GridBagLayout ());
437
            java.awt.GridBagConstraints gridBagConstraints1;
436
            java.awt.GridBagConstraints gridBagConstraints1;
(-)core/src/org/netbeans/core/Bundle.properties (-26 / +13 lines)
Lines 276-288 Link Here
276
276
277
#NbDialog - standard button captions
277
#NbDialog - standard button captions
278
YES_OPTION_CAPTION=Yes
278
YES_OPTION_CAPTION=Yes
279
NO_OPTION_CAPTION=No
279
NO_OPTION_CAPTION=&No
280
NO_OPTION_CAPTION_MNEMONIC=N
281
OK_OPTION_CAPTION=OK
280
OK_OPTION_CAPTION=OK
282
CANCEL_OPTION_CAPTION=Cancel
281
CANCEL_OPTION_CAPTION=Cancel
283
CLOSED_OPTION_CAPTION=Close
282
CLOSED_OPTION_CAPTION=Close
284
HELP_OPTION_CAPTION=Help
283
HELP_OPTION_CAPTION=&Help
285
HELP_OPTION_CAPTION_MNEMONIC=H
286
ACS_YES_OPTION_NAME=Yes
284
ACS_YES_OPTION_NAME=Yes
287
ACS_YES_OPTION_DESC=Yes button
285
ACS_YES_OPTION_DESC=Yes button
288
ACS_NO_OPTION_NAME=No
286
ACS_NO_OPTION_NAME=No
Lines 405-414 Link Here
405
403
406
# Shortcuts Editor Controls
404
# Shortcuts Editor Controls
407
ShortcutsEditor.viewByLabel=View By:
405
ShortcutsEditor.viewByLabel=View By:
408
ShortcutsEditor.actionsButton.text=Actions
406
ShortcutsEditor.actionsButton.text=A&ctions
409
ShortcutsEditor.actionsButton.text_Mnemonic=C
407
ShortcutsEditor.shortcutsButton.text=&Shortcuts
410
ShortcutsEditor.shortcutsButton.text=Shortcuts
411
ShortcutsEditor.shortcutsButton.text_Mnemonic=S
412
ShortcutsEditor.typeTitle=View Shortcuts By
408
ShortcutsEditor.typeTitle=View Shortcuts By
413
ActionsPanel.shortcutLabel.text=Shortcut\:
409
ActionsPanel.shortcutLabel.text=Shortcut\:
414
ShortcutsPanel.shortcutTextArea.text=Select View by Actions to Edit Shortcuts for an Action
410
ShortcutsPanel.shortcutTextArea.text=Select View by Actions to Edit Shortcuts for an Action
Lines 419-433 Link Here
419
ShortcutsPanel.AddActionTitle=New Shortcut
415
ShortcutsPanel.AddActionTitle=New Shortcut
420
CTL_ConfigureShortcuts=Configure Shortcuts...
416
CTL_ConfigureShortcuts=Configure Shortcuts...
421
CTL_ConfigureShortcuts_Title=Configure Shortcuts
417
CTL_ConfigureShortcuts_Title=Configure Shortcuts
422
ActionsPanel.shortcutAddButton.text=Add...
418
ActionsPanel.shortcutAddButton.text=&Add...
423
ActionsPanel.shortcutAddButton.text_Mnemonic=A
419
ActionsPanel.shortcutRemoveButton.text=&Remove
424
ActionsPanel.shortcutRemoveButton.text=Remove
425
ActionsPanel.shortcutRemoveButton.text_Mnemonic=R
426
ActionsPanel.ActionsTitle=Actions
420
ActionsPanel.ActionsTitle=Actions
427
ActionsPanel.ShortcutsTitle=Edit Shortcuts
421
ActionsPanel.ShortcutsTitle=Edit Shortcuts
428
ActionsPanel.AddShortcut=Add Shortcut
422
ActionsPanel.AddShortcut=Add Shortcut
429
ActionsPanel.ShortcutLabel=Shortcut:
423
ActionsPanel.ShortcutLabel=&Shortcut:
430
ActionsPanel.ShortcutLabel_Mnemonic=S
431
ACS_ShortcutsPanel.shortcutTextArea.text.a11yName=Select View by Actions to Edit Shortcuts for an Action
424
ACS_ShortcutsPanel.shortcutTextArea.text.a11yName=Select View by Actions to Edit Shortcuts for an Action
432
ACS_ShortcutsEditor.actionsButton.text.a11yDesc=Select View by Actions to Edit Shortcuts for an Action
425
ACS_ShortcutsEditor.actionsButton.text.a11yDesc=Select View by Actions to Edit Shortcuts for an Action
433
ACS_ShortcutsEditor.shortcutsButton.text.a11yDesc=Select View by Shortcuts, but for Edit Shortcuts should be View by Action selected
426
ACS_ShortcutsEditor.shortcutsButton.text.a11yDesc=Select View by Shortcuts, but for Edit Shortcuts should be View by Action selected
Lines 465-478 Link Here
465
EXC_Save=An exception occurred while saving
458
EXC_Save=An exception occurred while saving
466
# NotifyException
459
# NotifyException
467
CTL_Title_Exception=Exception
460
CTL_Title_Exception=Exception
468
CTL_NextException=Next >
461
CTL_NextException=&Next >
469
CTL_PreviousException=< Previous
462
CTL_PreviousException=< &Previous
470
CTL_Exception_Hide_Details=Hide Details
463
CTL_Exception_Hide_Details=&Hide Details
471
CTL_Exception_Show_Details=Show Details
464
CTL_Exception_Show_Details=&Show Details
472
CTL_NextException_Mnemonic=N
473
CTL_PreviousException_Mnemonic=P
474
CTL_Exception_Hide_Details_Mnemonic=H
475
CTL_Exception_Show_Details_Mnemonic=S
476
ACSD_NextException=N/A
465
ACSD_NextException=N/A
477
ACSD_PreviousException=N/A
466
ACSD_PreviousException=N/A
478
ACSD_Exception_Hide_Details=N/A
467
ACSD_Exception_Hide_Details=N/A
Lines 488-497 Link Here
488
LAB_FS_Configuration=Configuration
477
LAB_FS_Configuration=Configuration
489
478
490
#NbAuthenticator
479
#NbAuthenticator
491
LAB_AUTH_User_Name=User Name\:
480
LAB_AUTH_User_Name=&User Name\:
492
LAB_AUTH_User_Name_Mnemonic=U
481
LAB_AUTH_Password=&Password\:
493
LAB_AUTH_Password=Password\:
494
LAB_AUTH_Password_Mnemonic=P
495
ACSD_PasswordField=N/A
482
ACSD_PasswordField=N/A
496
ACSD_UserNameField=N/A
483
ACSD_UserNameField=N/A
497
ACSD_NbAuthenticatorPasswordPanel=N/A
484
ACSD_NbAuthenticatorPasswordPanel=N/A
(-)core/src/org/netbeans/core/ExitDialog.java (-3 / +3 lines)
Lines 260-268 Link Here
260
260
261
                // special handling to handle a button title with mnemonic 
261
                // special handling to handle a button title with mnemonic 
262
                // and to allow enable/disable control of the option
262
                // and to allow enable/disable control of the option
263
                Actions.setMenuText(buttonSave, bundle.getString("CTL_Save"), true);
263
                org.openide.awt.Mnemonics.setLocalizedText(buttonSave, bundle.getString("CTL_Save"));
264
                Actions.setMenuText(buttonSaveAll, bundle.getString("CTL_SaveAll"), true);
264
                org.openide.awt.Mnemonics.setLocalizedText(buttonSaveAll, bundle.getString("CTL_SaveAll"));
265
                Actions.setMenuText(buttonDiscardAll, bundle.getString("CTL_DiscardAll"), true);
265
                org.openide.awt.Mnemonics.setLocalizedText(buttonDiscardAll, bundle.getString("CTL_DiscardAll"));
266
266
267
                exitOptions = new Object[] {
267
                exitOptions = new Object[] {
268
                                  buttonSave,
268
                                  buttonSave,
(-)core/src/org/netbeans/core/FileSelector.java (-2 / +5 lines)
Lines 176-183 Link Here
176
                comboPanel.setLayout(new BorderLayout(5, 0));
176
                comboPanel.setLayout(new BorderLayout(5, 0));
177
177
178
                // support for mnemonics (defaults to first char)
178
                // support for mnemonics (defaults to first char)
179
                JLabel label = new JLabel(rootLabel.replace('&', ' '));
179
                JLabel label = new JLabel();
180
                label.setDisplayedMnemonic(rootLabel.charAt(rootLabel.indexOf('&') + 1));
180
                if (rootLabel.indexOf('&')>=0)
181
                    org.openide.awt.Mnemonics.setLocalizedText(label,rootLabel);
182
                else
183
                    org.openide.awt.Mnemonics.setLocalizedText(label,"&"+rootLabel);
181
                label.setLabelFor(combo);
184
                label.setLabelFor(combo);
182
                comboPanel.add(label, BorderLayout.WEST);
185
                comboPanel.add(label, BorderLayout.WEST);
183
                comboPanel.add(combo, BorderLayout.CENTER);
186
                comboPanel.add(combo, BorderLayout.CENTER);
(-)core/src/org/netbeans/core/NbAuthenticator.java (-4 / +4 lines)
Lines 93-100 Link Here
93
            mainPanel.add (promptLabel, gridBagConstraints1);
93
            mainPanel.add (promptLabel, gridBagConstraints1);
94
94
95
            jLabel1 = new javax.swing.JLabel ();
95
            jLabel1 = new javax.swing.JLabel ();
96
            jLabel1.setText (bundle.getString("LAB_AUTH_User_Name"));
96
            org.openide.awt.Mnemonics.setLocalizedText(jLabel1,
97
            jLabel1.setDisplayedMnemonic(bundle.getString("LAB_AUTH_User_Name_Mnemonic").charAt(0));
97
                    bundle.getString("LAB_AUTH_User_Name"));
98
98
99
            gridBagConstraints1 = new java.awt.GridBagConstraints ();
99
            gridBagConstraints1 = new java.awt.GridBagConstraints ();
100
            gridBagConstraints1.insets = new java.awt.Insets (0, 0, 5, 12);
100
            gridBagConstraints1.insets = new java.awt.Insets (0, 0, 5, 12);
Lines 115-122 Link Here
115
            mainPanel.add (usernameField, gridBagConstraints1);
115
            mainPanel.add (usernameField, gridBagConstraints1);
116
116
117
            jLabel2 = new javax.swing.JLabel ();
117
            jLabel2 = new javax.swing.JLabel ();
118
            jLabel2.setText (org.openide.util.NbBundle.getBundle(NbAuthenticator.class).getString("LAB_AUTH_Password"));
118
            org.openide.awt.Mnemonics.setLocalizedText(jLabel2,
119
            jLabel2.setDisplayedMnemonic(bundle.getString("LAB_AUTH_Password_Mnemonic").charAt(0));
119
                    org.openide.util.NbBundle.getBundle(NbAuthenticator.class).getString("LAB_AUTH_Password"));
120
120
121
            gridBagConstraints1 = new java.awt.GridBagConstraints ();
121
            gridBagConstraints1 = new java.awt.GridBagConstraints ();
122
            gridBagConstraints1.insets = new java.awt.Insets (0, 0, 0, 12);
122
            gridBagConstraints1.insets = new java.awt.Insets (0, 0, 0, 12);
(-)core/src/org/netbeans/core/NbPresenter.java (-4 / +6 lines)
Lines 44-54 Link Here
44
    protected NotifyDescriptor descriptor;
44
    protected NotifyDescriptor descriptor;
45
    
45
    
46
    private final JButton stdYesButton = new JButton(NbBundle.getBundle(NbPresenter.class).getString("YES_OPTION_CAPTION"));
46
    private final JButton stdYesButton = new JButton(NbBundle.getBundle(NbPresenter.class).getString("YES_OPTION_CAPTION"));
47
    private final JButton stdNoButton = new JButton(NbBundle.getBundle(NbPresenter.class).getString("NO_OPTION_CAPTION"));
47
    private final JButton stdNoButton = new JButton();
48
    private final JButton stdOKButton = new JButton(NbBundle.getBundle(NbPresenter.class).getString("OK_OPTION_CAPTION"));
48
    private final JButton stdOKButton = new JButton(NbBundle.getBundle(NbPresenter.class).getString("OK_OPTION_CAPTION"));
49
    private final JButton stdCancelButton = new JButton(NbBundle.getBundle(NbPresenter.class).getString("CANCEL_OPTION_CAPTION"));
49
    private final JButton stdCancelButton = new JButton(NbBundle.getBundle(NbPresenter.class).getString("CANCEL_OPTION_CAPTION"));
50
    private final JButton stdClosedButton = new JButton(NbBundle.getBundle(NbPresenter.class).getString("CLOSED_OPTION_CAPTION"));
50
    private final JButton stdClosedButton = new JButton(NbBundle.getBundle(NbPresenter.class).getString("CLOSED_OPTION_CAPTION"));
51
    private final JButton stdHelpButton = new JButton(NbBundle.getBundle(NbPresenter.class).getString("HELP_OPTION_CAPTION"));
51
    private final JButton stdHelpButton = new JButton();
52
    private final JButton stdDetailButton = new JButton(NbBundle.getBundle(NbPresenter.class).getString("HELP_OPTION_CAPTION"));
52
    private final JButton stdDetailButton = new JButton(NbBundle.getBundle(NbPresenter.class).getString("HELP_OPTION_CAPTION"));
53
    {
53
    {
54
        stdYesButton.setDefaultCapable(true);
54
        stdYesButton.setDefaultCapable(true);
Lines 59-66 Link Here
59
        stdClosedButton.setDefaultCapable(false);
59
        stdClosedButton.setDefaultCapable(false);
60
        stdHelpButton.setDefaultCapable(false);
60
        stdHelpButton.setDefaultCapable(false);
61
        stdDetailButton.setDefaultCapable(false);
61
        stdDetailButton.setDefaultCapable(false);
62
        stdNoButton.setMnemonic(NbBundle.getBundle(NbPresenter.class).getString("NO_OPTION_CAPTION_MNEMONIC").charAt(0));
62
        org.openide.awt.Mnemonics.setLocalizedText(stdNoButton,
63
        stdHelpButton.setMnemonic(NbBundle.getBundle(NbPresenter.class).getString("HELP_OPTION_CAPTION_MNEMONIC").charAt(0));
63
                NbBundle.getBundle(NbPresenter.class).getString("NO_OPTION_CAPTION"));
64
        org.openide.awt.Mnemonics.setLocalizedText(stdHelpButton,
65
                NbBundle.getBundle(NbPresenter.class).getString("HELP_OPTION_CAPTION"));
64
        
66
        
65
        /** Initilizes accessible contexts */
67
        /** Initilizes accessible contexts */
66
        initAccessibility();
68
        initAccessibility();
(-)core/src/org/netbeans/core/NotifyException.java (-8 / +10 lines)
Lines 79-86 Link Here
79
        exceptions=new ArrayListPos();
79
        exceptions=new ArrayListPos();
80
80
81
        java.util.ResourceBundle bundle = org.openide.util.NbBundle.getBundle(NotifyException.class);
81
        java.util.ResourceBundle bundle = org.openide.util.NbBundle.getBundle(NotifyException.class);
82
        next = new JButton (bundle.getString("CTL_NextException"));
82
        next = new JButton ();
83
        previous = new JButton (bundle.getString("CTL_PreviousException"));
83
        org.openide.awt.Mnemonics.setLocalizedText(next,
84
                bundle.getString("CTL_NextException"));
85
        previous = new JButton ();
86
        org.openide.awt.Mnemonics.setLocalizedText(previous,
87
                bundle.getString("CTL_PreviousException"));
84
        details = new JButton ();
88
        details = new JButton ();
85
89
86
        /*
90
        /*
Lines 101-108 Link Here
101
            
105
            
102
        //setViewportView (output);
106
        //setViewportView (output);
103
107
104
        next.setMnemonic(bundle.getString("CTL_NextException_Mnemonic").charAt(0));
105
        previous.setMnemonic(bundle.getString("CTL_PreviousException_Mnemonic").charAt(0));
106
        next.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_NextException"));
108
        next.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_NextException"));
107
        previous.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_PreviousException"));
109
        previous.getAccessibleContext().setAccessibleDescription(bundle.getString("ACSD_PreviousException"));
108
        output.getAccessibleContext().setAccessibleName(bundle.getString("ACSN_ExceptionStackTrace"));
110
        output.getAccessibleContext().setAccessibleName(bundle.getString("ACSN_ExceptionStackTrace"));
Lines 209-221 Link Here
209
        previous.setVisible (exceptions.existsPreviousElement());
211
        previous.setVisible (exceptions.existsPreviousElement());
210
212
211
        if (showDetails) {
213
        if (showDetails) {
212
            details.setText (org.openide.util.NbBundle.getBundle(NotifyException.class).getString("CTL_Exception_Hide_Details"));
214
            org.openide.awt.Mnemonics.setLocalizedText(details,
213
            details.setMnemonic(org.openide.util.NbBundle.getBundle(NotifyException.class).getString("CTL_Exception_Hide_Details_Mnemonic").charAt(0));
215
                    org.openide.util.NbBundle.getBundle(NotifyException.class).getString("CTL_Exception_Hide_Details"));
214
            details.getAccessibleContext().setAccessibleDescription(
216
            details.getAccessibleContext().setAccessibleDescription(
215
                org.openide.util.NbBundle.getBundle(NotifyException.class).getString("ACSD_Exception_Hide_Details"));
217
                org.openide.util.NbBundle.getBundle(NotifyException.class).getString("ACSD_Exception_Hide_Details"));
216
        } else {
218
        } else {
217
            details.setText(org.openide.util.NbBundle.getBundle(NotifyException.class).getString("CTL_Exception_Show_Details"));
219
            org.openide.awt.Mnemonics.setLocalizedText(details,
218
            details.setMnemonic(org.openide.util.NbBundle.getBundle(NotifyException.class).getString("CTL_Exception_Show_Details_Mnemonic").charAt(0));
220
                    org.openide.util.NbBundle.getBundle(NotifyException.class).getString("CTL_Exception_Show_Details"));
219
            details.getAccessibleContext().setAccessibleDescription(
221
            details.getAccessibleContext().setAccessibleDescription(
220
                org.openide.util.NbBundle.getBundle(NotifyException.class).getString("ACSD_Exception_Show_Details"));
222
                org.openide.util.NbBundle.getBundle(NotifyException.class).getString("ACSD_Exception_Show_Details"));
221
        }
223
        }
(-)core/src/org/netbeans/core/ShortcutsEditor.form (-9 / +4 lines)
Lines 8-22 Link Here
8
      </Border>
8
      </Border>
9
    </Property>
9
    </Property>
10
  </Properties>
10
  </Properties>
11
  <SyntheticProperties>
12
  </SyntheticProperties>
13
11
14
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
12
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
15
  <SubComponents>
13
  <SubComponents>
16
    <Container class="javax.swing.JPanel" name="radioPanel">
14
    <Container class="javax.swing.JPanel" name="radioPanel">
17
      <Constraints>
15
      <Constraints>
18
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
16
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
19
          <GridBagConstraints anchor="17" fill="2" gridHeight="1" gridWidth="0" gridX="-1" gridY="-1" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="1.0" weightY="0.0"/>
17
          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="17" weightX="1.0" weightY="0.0"/>
20
        </Constraint>
18
        </Constraint>
21
      </Constraints>
19
      </Constraints>
22
20
Lines 31-48 Link Here
31
              <Connection component="actionsButton" name="isContentAreaFilled" type="method"/>
29
              <Connection component="actionsButton" name="isContentAreaFilled" type="method"/>
32
            </Property>
30
            </Property>
33
          </Properties>
31
          </Properties>
34
35
          <Events>
32
          <Events>
36
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="actionsButtonActionPerformed"/>
33
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="actionsButtonActionPerformed"/>
37
          </Events>
34
          </Events>
38
39
          <AuxValues>
35
          <AuxValues>
40
            <AuxValue name="JavaCodeGenerator_SerializeTo" type="java.lang.String" value="ShortcutsEditor_actionsButton"/>
36
            <AuxValue name="JavaCodeGenerator_SerializeTo" type="java.lang.String" value="ShortcutsEditor_actionsButton"/>
41
            <AuxValue name="JavaCodeGenerator_CodeGeneration" type="java.lang.Integer" value="0"/>
37
            <AuxValue name="JavaCodeGenerator_CodeGeneration" type="java.lang.Integer" value="0"/>
42
          </AuxValues>
38
          </AuxValues>
43
          <Constraints>
39
          <Constraints>
44
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
40
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
45
              <GridBagConstraints anchor="10" fill="0" gridHeight="1" gridWidth="1" gridX="1" gridY="0" insetsBottom="0" insetsLeft="12" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
41
              <GridBagConstraints gridX="1" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="12" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
46
            </Constraint>
42
            </Constraint>
47
          </Constraints>
43
          </Constraints>
48
        </Component>
44
        </Component>
Lines 52-64 Link Here
52
              <ResourceString bundle="org/netbeans/core/Bundle.properties" key="ShortcutsEditor.shortcutsButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
48
              <ResourceString bundle="org/netbeans/core/Bundle.properties" key="ShortcutsEditor.shortcutsButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
53
            </Property>
49
            </Property>
54
          </Properties>
50
          </Properties>
55
56
          <Events>
51
          <Events>
57
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="shortcutsButtonActionPerformed"/>
52
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="shortcutsButtonActionPerformed"/>
58
          </Events>
53
          </Events>
59
          <Constraints>
54
          <Constraints>
60
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
55
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
61
              <GridBagConstraints anchor="10" fill="2" gridHeight="1" gridWidth="1" gridX="2" gridY="0" insetsBottom="0" insetsLeft="12" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="1.0" weightY="0.0"/>
56
              <GridBagConstraints gridX="2" gridY="0" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="12" insetsBottom="0" insetsRight="0" anchor="10" weightX="1.0" weightY="0.0"/>
62
            </Constraint>
57
            </Constraint>
63
          </Constraints>
58
          </Constraints>
64
        </Component>
59
        </Component>
Lines 70-76 Link Here
70
          </Properties>
65
          </Properties>
71
          <Constraints>
66
          <Constraints>
72
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
67
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
73
              <GridBagConstraints anchor="10" fill="0" gridHeight="1" gridWidth="1" gridX="0" gridY="0" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
68
              <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
74
            </Constraint>
69
            </Constraint>
75
          </Constraints>
70
          </Constraints>
76
        </Component>
71
        </Component>
(-)core/src/org/netbeans/core/ShortcutsEditor.java (-42 / +40 lines)
Lines 49-56 Link Here
49
        initComponents ();
49
        initComponents ();
50
        initAccessibility ();
50
        initAccessibility ();
51
        viewByLabel.setLabelFor(actionsButton);
51
        viewByLabel.setLabelFor(actionsButton);
52
        actionsButton.setMnemonic(bundle.getString ("ShortcutsEditor.actionsButton.text_Mnemonic").charAt(0));
53
        shortcutsButton.setMnemonic(bundle.getString ("ShortcutsEditor.shortcutsButton.text_Mnemonic").charAt(0));
54
52
55
        javax.swing.ButtonGroup group = new javax.swing.ButtonGroup ();
53
        javax.swing.ButtonGroup group = new javax.swing.ButtonGroup ();
56
        group.add(actionsButton);
54
        group.add(actionsButton);
Lines 84-143 Link Here
84
     * always regenerated by the FormEditor.
82
     * always regenerated by the FormEditor.
85
     */
83
     */
86
    private void initComponents() {//GEN-BEGIN:initComponents
84
    private void initComponents() {//GEN-BEGIN:initComponents
85
        java.awt.GridBagConstraints gridBagConstraints;
86
87
        radioPanel = new javax.swing.JPanel();
87
        radioPanel = new javax.swing.JPanel();
88
        actionsButton = new javax.swing.JRadioButton();
88
        actionsButton = new javax.swing.JRadioButton();
89
        shortcutsButton = new javax.swing.JRadioButton();
89
        shortcutsButton = new javax.swing.JRadioButton();
90
        viewByLabel = new javax.swing.JLabel();
90
        viewByLabel = new javax.swing.JLabel();
91
        
91
92
        setLayout(new java.awt.GridBagLayout());
92
        setLayout(new java.awt.GridBagLayout());
93
        java.awt.GridBagConstraints gridBagConstraints1;
93
94
        
95
        setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(12, 12, 0, 11)));
94
        setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(12, 12, 0, 11)));
96
        radioPanel.setLayout(new java.awt.GridBagLayout());
95
        radioPanel.setLayout(new java.awt.GridBagLayout());
97
        java.awt.GridBagConstraints gridBagConstraints2;
96
98
        
97
        org.openide.awt.Mnemonics.setLocalizedText(actionsButton,java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ShortcutsEditor.actionsButton.text"));
99
        actionsButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ShortcutsEditor.actionsButton.text"));
100
        actionsButton.setContentAreaFilled(actionsButton.isContentAreaFilled());
98
        actionsButton.setContentAreaFilled(actionsButton.isContentAreaFilled());
101
        actionsButton.addActionListener(new java.awt.event.ActionListener() {
99
        actionsButton.addActionListener(new java.awt.event.ActionListener() {
102
            public void actionPerformed(java.awt.event.ActionEvent evt) {
100
            public void actionPerformed(java.awt.event.ActionEvent evt) {
103
                actionsButtonActionPerformed(evt);
101
                actionsButtonActionPerformed(evt);
104
            }
102
            }
105
        });
103
        });
106
        
104
107
        gridBagConstraints2 = new java.awt.GridBagConstraints();
105
        gridBagConstraints = new java.awt.GridBagConstraints();
108
        gridBagConstraints2.gridx = 1;
106
        gridBagConstraints.gridx = 1;
109
        gridBagConstraints2.gridy = 0;
107
        gridBagConstraints.gridy = 0;
110
        gridBagConstraints2.insets = new java.awt.Insets(0, 12, 0, 0);
108
        gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0);
111
        radioPanel.add(actionsButton, gridBagConstraints2);
109
        radioPanel.add(actionsButton, gridBagConstraints);
112
        
110
113
        shortcutsButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ShortcutsEditor.shortcutsButton.text"));
111
        org.openide.awt.Mnemonics.setLocalizedText(shortcutsButton,java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ShortcutsEditor.shortcutsButton.text"));
114
        shortcutsButton.addActionListener(new java.awt.event.ActionListener() {
112
        shortcutsButton.addActionListener(new java.awt.event.ActionListener() {
115
            public void actionPerformed(java.awt.event.ActionEvent evt) {
113
            public void actionPerformed(java.awt.event.ActionEvent evt) {
116
                shortcutsButtonActionPerformed(evt);
114
                shortcutsButtonActionPerformed(evt);
117
            }
115
            }
118
        });
116
        });
119
        
117
120
        gridBagConstraints2 = new java.awt.GridBagConstraints();
118
        gridBagConstraints = new java.awt.GridBagConstraints();
121
        gridBagConstraints2.gridx = 2;
119
        gridBagConstraints.gridx = 2;
122
        gridBagConstraints2.gridy = 0;
120
        gridBagConstraints.gridy = 0;
123
        gridBagConstraints2.fill = java.awt.GridBagConstraints.HORIZONTAL;
121
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
124
        gridBagConstraints2.insets = new java.awt.Insets(0, 12, 0, 0);
122
        gridBagConstraints.weightx = 1.0;
125
        gridBagConstraints2.weightx = 1.0;
123
        gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0);
126
        radioPanel.add(shortcutsButton, gridBagConstraints2);
124
        radioPanel.add(shortcutsButton, gridBagConstraints);
127
        
125
128
        viewByLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ShortcutsEditor.viewByLabel"));
126
        org.openide.awt.Mnemonics.setLocalizedText(viewByLabel,java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ShortcutsEditor.viewByLabel"));
129
        gridBagConstraints2 = new java.awt.GridBagConstraints();
127
        gridBagConstraints = new java.awt.GridBagConstraints();
130
        gridBagConstraints2.gridx = 0;
128
        gridBagConstraints.gridx = 0;
131
        gridBagConstraints2.gridy = 0;
129
        gridBagConstraints.gridy = 0;
132
        radioPanel.add(viewByLabel, gridBagConstraints2);
130
        radioPanel.add(viewByLabel, gridBagConstraints);
133
        
131
134
        gridBagConstraints1 = new java.awt.GridBagConstraints();
132
        gridBagConstraints = new java.awt.GridBagConstraints();
135
        gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER;
133
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
136
        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
134
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
137
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
135
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
138
        gridBagConstraints1.weightx = 1.0;
136
        gridBagConstraints.weightx = 1.0;
139
        add(radioPanel, gridBagConstraints1);
137
        add(radioPanel, gridBagConstraints);
140
        
138
141
    }//GEN-END:initComponents
139
    }//GEN-END:initComponents
142
140
143
    private void shortcutsButtonActionPerformed (java.awt.event.ActionEvent evt) {//GEN-FIRST:event_shortcutsButtonActionPerformed
141
    private void shortcutsButtonActionPerformed (java.awt.event.ActionEvent evt) {//GEN-FIRST:event_shortcutsButtonActionPerformed
Lines 178-189 Link Here
178
        }
176
        }
179
    }
177
    }
180
178
181
    // Variables declaration - do not modify//GEN-BEGIN:variables
179
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
182
    private javax.swing.JPanel radioPanel;
183
    private javax.swing.JRadioButton actionsButton;
184
    private javax.swing.JRadioButton shortcutsButton;
180
    private javax.swing.JRadioButton shortcutsButton;
181
    private javax.swing.JRadioButton actionsButton;
182
    private javax.swing.JPanel radioPanel;
185
    private javax.swing.JLabel viewByLabel;
183
    private javax.swing.JLabel viewByLabel;
186
    // End of variables declaration//GEN-END:variables
184
    // ????? ?????????? ??????????//GEN-END:variables
187
185
188
    /** Adds given shortcut to the list changes. */
186
    /** Adds given shortcut to the list changes. */
189
    void addShortcut(KeyStroke key, Action action) {
187
    void addShortcut(KeyStroke key, Action action) {
(-)core/src/org/netbeans/core/ShortcutsPanel.form (-13 / +9 lines)
Lines 1-9 Link Here
1
<?xml version="1.0" encoding="UTF-8" ?>
1
<?xml version="1.0" encoding="UTF-8" ?>
2
2
3
<Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
3
<Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
4
  <SyntheticProperties>
4
  <AuxValues>
5
    <SyntheticProperty name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
5
    <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,44,0,0,1,-112"/>
6
  </SyntheticProperties>
6
  </AuxValues>
7
7
8
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
8
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
9
  <SubComponents>
9
  <SubComponents>
Lines 17-27 Link Here
17
      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
17
      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
18
      <SubComponents>
18
      <SubComponents>
19
        <Component class="javax.swing.JList" name="shortcutsList">
19
        <Component class="javax.swing.JList" name="shortcutsList">
20
21
          <Events>
20
          <Events>
22
            <EventHandler event="valueChanged" listener="javax.swing.event.ListSelectionListener" parameters="javax.swing.event.ListSelectionEvent" handler="shortcutsListValueChanged"/>
21
            <EventHandler event="valueChanged" listener="javax.swing.event.ListSelectionListener" parameters="javax.swing.event.ListSelectionEvent" handler="shortcutsListValueChanged"/>
23
          </Events>
22
          </Events>
24
25
          <AuxValues>
23
          <AuxValues>
26
            <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new javax.swing.JList (strokes);"/>
24
            <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new javax.swing.JList (strokes);"/>
27
          </AuxValues>
25
          </AuxValues>
Lines 39-56 Link Here
39
      <SubComponents>
37
      <SubComponents>
40
        <Component class="javax.swing.JTextArea" name="shortcutTextArea">
38
        <Component class="javax.swing.JTextArea" name="shortcutTextArea">
41
          <Properties>
39
          <Properties>
42
            <Property name="wrapStyleWord" type="boolean" value="true"/>
40
            <Property name="background" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
43
            <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
41
              <Connection component="buttonsPanel" name="background" type="property"/>
44
              <ResourceString bundle="org/netbeans/core/Bundle.properties" key="ACS_ShortcutsPanel.shortcutTextArea.text.a11yName" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
45
            </Property>
42
            </Property>
46
            <Property name="lineWrap" type="boolean" value="true"/>
47
            <Property name="editable" type="boolean" value="false"/>
43
            <Property name="editable" type="boolean" value="false"/>
44
            <Property name="lineWrap" type="boolean" value="true"/>
48
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
45
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
49
              <ResourceString bundle="org/netbeans/core/Bundle.properties" key="ShortcutsPanel.shortcutTextArea.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
46
              <ResourceString bundle="org/netbeans/core/Bundle.properties" key="ShortcutsPanel.shortcutTextArea.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
50
            </Property>
47
            </Property>
51
            <Property name="background" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
48
            <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
52
              <Connection component="buttonsPanel" name="background" type="property"/>
49
              <ResourceString bundle="org/netbeans/core/Bundle.properties" key="ACS_ShortcutsPanel.shortcutTextArea.text.a11yName" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
53
            </Property>
50
            </Property>
51
            <Property name="wrapStyleWord" type="boolean" value="true"/>
54
          </Properties>
52
          </Properties>
55
          <Constraints>
53
          <Constraints>
56
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
54
            <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
Lines 64-70 Link Here
64
              <ResourceString bundle="org/netbeans/core/Bundle.properties" key="ShortcutsPanel.addButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
62
              <ResourceString bundle="org/netbeans/core/Bundle.properties" key="ShortcutsPanel.addButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
65
            </Property>
63
            </Property>
66
          </Properties>
64
          </Properties>
67
68
          <Events>
65
          <Events>
69
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="addButtonActionPerformed"/>
66
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="addButtonActionPerformed"/>
70
          </Events>
67
          </Events>
Lines 80-86 Link Here
80
              <ResourceString bundle="org/netbeans/core/Bundle.properties" key="ShortcutsPanel.removeButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
77
              <ResourceString bundle="org/netbeans/core/Bundle.properties" key="ShortcutsPanel.removeButton.text" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
81
            </Property>
78
            </Property>
82
          </Properties>
79
          </Properties>
83
84
          <Events>
80
          <Events>
85
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="removeButtonActionPerformed"/>
81
            <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="removeButtonActionPerformed"/>
86
          </Events>
82
          </Events>
(-)core/src/org/netbeans/core/ShortcutsPanel.java (-16 / +13 lines)
Lines 41-59 Link Here
41
41
42
    /** Creates new form ActionsPanel */
42
    /** Creates new form ActionsPanel */
43
    public ShortcutsPanel(ShortcutsEditor shortcutsEditor) {
43
    public ShortcutsPanel(ShortcutsEditor shortcutsEditor) {
44
        ResourceBundle bundle;
45
46
        this.shortcutsEditor = shortcutsEditor;
44
        this.shortcutsEditor = shortcutsEditor;
47
        updateData ();
45
        updateData ();
48
46
49
        initComponents ();
47
        initComponents ();
50
        initAccessibility();
48
        initAccessibility();
51
        addButton.setMnemonic((bundle = NbBundle.getBundle(ShortcutsPanel.class)).getString("ActionsPanel.shortcutAddButton.text_Mnemonic").charAt(0));
52
        removeButton.setMnemonic(bundle.getString("ActionsPanel.shortcutRemoveButton.text_Mnemonic").charAt(0));
53
49
54
        buttonsPanel.setBorder (new javax.swing.border.CompoundBorder(
50
        buttonsPanel.setBorder (new javax.swing.border.CompoundBorder(
55
                                     new javax.swing.border.TitledBorder(
51
                                     new javax.swing.border.TitledBorder(
56
                                         new javax.swing.border.EtchedBorder(), bundle.getString ("ActionsPanel.ShortcutsTitle")),
52
                                         new javax.swing.border.EtchedBorder(), 
53
                                            NbBundle.getBundle(ShortcutsPanel.class).getString ("ActionsPanel.ShortcutsTitle")),
57
                                     new javax.swing.border.EmptyBorder(new java.awt.Insets(12, 12, 11, 11))));
54
                                     new javax.swing.border.EmptyBorder(new java.awt.Insets(12, 12, 11, 11))));
58
55
59
        shortcutsList.setCellRenderer (new KeyStrokeRenderer ());
56
        shortcutsList.setCellRenderer (new KeyStrokeRenderer ());
Lines 96-107 Link Here
96
93
97
        buttonsPanel.setLayout(new java.awt.GridBagLayout());
94
        buttonsPanel.setLayout(new java.awt.GridBagLayout());
98
95
99
        shortcutTextArea.setWrapStyleWord(true);
96
        shortcutTextArea.setBackground(buttonsPanel.getBackground());
100
        shortcutTextArea.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ACS_ShortcutsPanel.shortcutTextArea.text.a11yName"));
101
        shortcutTextArea.setLineWrap(true);
102
        shortcutTextArea.setEditable(false);
97
        shortcutTextArea.setEditable(false);
98
        shortcutTextArea.setLineWrap(true);
103
        shortcutTextArea.setText(java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ShortcutsPanel.shortcutTextArea.text"));
99
        shortcutTextArea.setText(java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ShortcutsPanel.shortcutTextArea.text"));
104
        shortcutTextArea.setBackground(buttonsPanel.getBackground());
100
        shortcutTextArea.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ACS_ShortcutsPanel.shortcutTextArea.text.a11yName"));
101
        shortcutTextArea.setWrapStyleWord(true);
105
        gridBagConstraints = new java.awt.GridBagConstraints();
102
        gridBagConstraints = new java.awt.GridBagConstraints();
106
        gridBagConstraints.gridx = 0;
103
        gridBagConstraints.gridx = 0;
107
        gridBagConstraints.gridy = 0;
104
        gridBagConstraints.gridy = 0;
Lines 110-116 Link Here
110
        gridBagConstraints.weightx = 1.0;
107
        gridBagConstraints.weightx = 1.0;
111
        buttonsPanel.add(shortcutTextArea, gridBagConstraints);
108
        buttonsPanel.add(shortcutTextArea, gridBagConstraints);
112
109
113
        addButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ShortcutsPanel.addButton.text"));
110
        org.openide.awt.Mnemonics.setLocalizedText(addButton,java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ShortcutsPanel.addButton.text"));
114
        addButton.addActionListener(new java.awt.event.ActionListener() {
111
        addButton.addActionListener(new java.awt.event.ActionListener() {
115
            public void actionPerformed(java.awt.event.ActionEvent evt) {
112
            public void actionPerformed(java.awt.event.ActionEvent evt) {
116
                addButtonActionPerformed(evt);
113
                addButtonActionPerformed(evt);
Lines 125-131 Link Here
125
        gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0);
122
        gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0);
126
        buttonsPanel.add(addButton, gridBagConstraints);
123
        buttonsPanel.add(addButton, gridBagConstraints);
127
124
128
        removeButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ShortcutsPanel.removeButton.text"));
125
        org.openide.awt.Mnemonics.setLocalizedText(removeButton,java.util.ResourceBundle.getBundle("org/netbeans/core/Bundle").getString("ShortcutsPanel.removeButton.text"));
129
        removeButton.addActionListener(new java.awt.event.ActionListener() {
126
        removeButton.addActionListener(new java.awt.event.ActionListener() {
130
            public void actionPerformed(java.awt.event.ActionEvent evt) {
127
            public void actionPerformed(java.awt.event.ActionEvent evt) {
131
                removeButtonActionPerformed(evt);
128
                removeButtonActionPerformed(evt);
Lines 216-229 Link Here
216
        removeButton.setEnabled(shortcutsList.getSelectedIndices().length > 0);
213
        removeButton.setEnabled(shortcutsList.getSelectedIndices().length > 0);
217
    }
214
    }
218
215
219
    // Variables declaration - do not modify//GEN-BEGIN:variables
216
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
217
    private javax.swing.JList shortcutsList;
218
    private javax.swing.JPanel buttonsPanel;
220
    private javax.swing.JScrollPane shortcutsScrollPane;
219
    private javax.swing.JScrollPane shortcutsScrollPane;
221
    private javax.swing.JButton addButton;
222
    private javax.swing.JTextArea shortcutTextArea;
220
    private javax.swing.JTextArea shortcutTextArea;
223
    private javax.swing.JPanel buttonsPanel;
221
    private javax.swing.JButton addButton;
224
    private javax.swing.JList shortcutsList;
225
    private javax.swing.JButton removeButton;
222
    private javax.swing.JButton removeButton;
226
    // End of variables declaration//GEN-END:variables
223
    // ????? ?????????? ??????????//GEN-END:variables
227
224
228
    private void initAccessibility() {
225
    private void initAccessibility() {
229
        ResourceBundle bundle = NbBundle.getBundle(ShortcutsPanel.class);
226
        ResourceBundle bundle = NbBundle.getBundle(ShortcutsPanel.class);
(-)core/src/org/netbeans/core/actions/Bundle.properties (-4 / +2 lines)
Lines 103-112 Link Here
103
103
104
#OptionsAction
104
#OptionsAction
105
Options=&Options
105
Options=&Options
106
CTL_close_button=Close
106
CTL_close_button=&Close
107
CTL_close_button_mnemonic=C
107
CTL_help_button=&Help
108
CTL_help_button=Help
109
CTL_help_button_mnemonic=H
110
ACSD_help_button=N/A
108
ACSD_help_button=N/A
111
ACSD_close_button=N/A
109
ACSD_close_button=N/A
112
ACSN_optionsTree=N/A
110
ACSN_optionsTree=N/A
(-)core/src/org/netbeans/core/actions/OptionsAction.java (-4 / +6 lines)
Lines 201-208 Link Here
201
            gridBagConstraints.gridwidth = 2;
201
            gridBagConstraints.gridwidth = 2;
202
            add (split, gridBagConstraints);
202
            add (split, gridBagConstraints);
203
203
204
            javax.swing.JButton close = new javax.swing.JButton (NbBundle.getMessage (OptionsAction.class, "CTL_close_button"));
204
            javax.swing.JButton close = new javax.swing.JButton ();
205
            close.setMnemonic(NbBundle.getMessage (OptionsAction.class, "CTL_close_button_mnemonic").charAt(0));
205
            org.openide.awt.Mnemonics.setLocalizedText(close,
206
                    NbBundle.getMessage (OptionsAction.class, "CTL_close_button"));
206
            close.setDefaultCapable (true);
207
            close.setDefaultCapable (true);
207
            gridBagConstraints = new GridBagConstraints ();
208
            gridBagConstraints = new GridBagConstraints ();
208
            gridBagConstraints.gridx = 0;
209
            gridBagConstraints.gridx = 0;
Lines 220-227 Link Here
220
            });
221
            });
221
            add (close, gridBagConstraints);
222
            add (close, gridBagConstraints);
222
223
223
            javax.swing.JButton help = new javax.swing.JButton (NbBundle.getMessage (OptionsAction.class, "CTL_help_button"));
224
            javax.swing.JButton help = new javax.swing.JButton ();
224
            help.setMnemonic(NbBundle.getMessage (OptionsAction.class, "CTL_help_button_mnemonic").charAt(0));
225
            org.openide.awt.Mnemonics.setLocalizedText(help,
226
                    NbBundle.getMessage (OptionsAction.class, "CTL_help_button"));
225
            help.setMinimumSize (close.getMinimumSize ());
227
            help.setMinimumSize (close.getMinimumSize ());
226
            help.setMaximumSize (close.getMaximumSize ());
228
            help.setMaximumSize (close.getMaximumSize ());
227
            help.setPreferredSize (close.getPreferredSize ());
229
            help.setPreferredSize (close.getPreferredSize ());
(-)core/src/org/netbeans/core/ui/Bundle.properties (-33 / +16 lines)
Lines 11-23 Link Here
11
11
12
CTL_DID_YOU_KNOW=Did you know?
12
CTL_DID_YOU_KNOW=Did you know?
13
CTL_OpeningBrowser=Opening browser ...
13
CTL_OpeningBrowser=Opening browser ...
14
CTL_NEXTSTARTUP=\ Do not show Welcome Screen again
14
CTL_NEXTSTARTUP=\ &Do not show Welcome Screen again
15
MNE_NEXTSTARTUP=D
16
CTL_START_TITLE=Welcome to NetBeans
15
CTL_START_TITLE=Welcome to NetBeans
17
CTL_NEXT_BUTTON=Next Tip
16
CTL_NEXT_BUTTON=&Next Tip
18
MNE_NEXT_BUTTON=N
17
CTL_PREV_BUTTON=&Previous Tip
19
CTL_PREV_BUTTON=Previous Tip
20
MNE_PREV_BUTTON=P
21
18
22
CTL_Welcome_hint=Items for the Welcome Screen
19
CTL_Welcome_hint=Items for the Welcome Screen
23
#CTL_newMenuName=Menu name
20
#CTL_newMenuName=Menu name
Lines 64-78 Link Here
64
#{1} = comment passed by the iterator
61
#{1} = comment passed by the iterator
65
CTL_TemplateTitle=New... {0} {1}
62
CTL_TemplateTitle=New... {0} {1}
66
LAB_TemplateChooserPanelName=Choose Filesystem type
63
LAB_TemplateChooserPanelName=Choose Filesystem type
67
LAB_SelectTemplateBorder=Select Filesystem type
64
LAB_SelectTemplateBorder=&Select Filesystem type
68
Msg_attr_change_error=Could not change attributes on the {0} file.
65
Msg_attr_change_error=Could not change attributes on the {0} file.
69
MSG_NoDescription=No description
66
MSG_NoDescription=No description
70
LAB_TemplateDescriptionBorder=New Filesystem description
67
LAB_TemplateDescriptionBorder=New Filesys&tem description
71
LAB_TargetLocationPanelName=Target Location
68
LAB_TargetLocationPanelName=Target Location
72
LAB_TargetLocationDescription=Please select a package for the newly created object or enter the package name below.
69
LAB_TargetLocationDescription=Please select a package for the newly created object or enter the package name below.
73
LAB_SelectPackageBorder=Select Package
70
LAB_SelectPackageBorder=Select Package
74
LAB_SelectTemplateBorder_Mnemonic=S
75
LAB_TemplateDescriptionBorder_Mnemonic=T
76
ACSD_TemplatesTree=N/A
71
ACSD_TemplatesTree=N/A
77
ACSD_TemplateWizard1=N/A
72
ACSD_TemplateWizard1=N/A
78
73
Lines 94-121 Link Here
94
# ProxySettings
89
# ProxySettings
95
ProxySettings=Proxy Settings
90
ProxySettings=Proxy Settings
96
PROP_ProxySettings=Proxy Settings
91
PROP_ProxySettings=Proxy Settings
97
LAB_ProxyUse=Use Proxy
92
LAB_ProxyUse=&Use Proxy
98
LAB_ProxyUse_Mnemonic=U
93
LAB_ProxyHost=Proxy &Host:
99
LAB_ProxyHost=Proxy Host:
94
LAB_ProxyPort=Proxy &Port:
100
LAB_ProxyHost_Mnemonic=H
101
LAB_ProxyPort=Proxy Port:
102
LAB_ProxyPort_Mnemonic=P
103
CTL_SetupWizardTitle=Setup Wizard
95
CTL_SetupWizardTitle=Setup Wizard
104
96
105
# IDE Settings panel
97
# IDE Settings panel
106
LBL_Server_Name_Mnemonic=N
107
LBL__Port_Mnemonic=P
108
LBL_UseProxyServer_Mnemonic=U
109
LBL_SDI_Mnemonic=S
110
LBL_MDI_Mnemonic=M
111
LBL_AdvancedCheckBox_Mnemonic=A
112
LBL_IDEPanelName=General NetBeans Settings
98
LBL_IDEPanelName=General NetBeans Settings
113
LBL_UseProxyServer=Use HTTP Proxy Server
99
LBL_UseProxyServer=&Use HTTP Proxy Server
114
LBL_SDI=Multiple Smaller Windows Mode ("SDI")
100
LBL_SDI=Multiple &Smaller Windows Mode ("SDI")
115
LBL_MDI=Full Screen Mode ("MDI")
101
LBL_MDI=Full Screen &Mode ("MDI")
116
LBL_Server_Name=Proxy Server Name:
102
LBL_Server_Name=Proxy Server &Name:
117
LBL_Head=Set general NetBeans settings on this page.
103
LBL_Head=Set general NetBeans settings on this page.
118
LBL_Port=Port:
104
LBL_Port=&Port:
119
LBL_WindowMode=Window Mode:
105
LBL_WindowMode=Window Mode:
120
LBL_WebProxy=Web Proxy:
106
LBL_WebProxy=Web Proxy:
121
LBL_ProxyDesc=If you are behind a firewall, you should set the proxy server, so that the IDE can properly direct outgoing HTTP traffic.
107
LBL_ProxyDesc=If you are behind a firewall, you should set the proxy server, so that the IDE can properly direct outgoing HTTP traffic.
Lines 127-134 Link Here
127
113
128
# Web Browser Panel
114
# Web Browser Panel
129
LBL_WebBrowserPanelName=Select Web Browser
115
LBL_WebBrowserPanelName=Select Web Browser
130
CTL_BrowserLabel=Web Browser:
116
CTL_BrowserLabel=&Web Browser:
131
CTL_BrowserLabel_mnemonic=W
132
CTL_HelpTextArea=This is the browser that NetBeans uses to display internal and external web pages.  The Swing HTML Browser provides the highest level of integration with NetBeans but other browsers might provide more functionality.
117
CTL_HelpTextArea=This is the browser that NetBeans uses to display internal and external web pages.  The Swing HTML Browser provides the highest level of integration with NetBeans but other browsers might provide more functionality.
133
118
134
# Product Information panel
119
# Product Information panel
Lines 258-265 Link Here
258
#CTL_ModuleInstallation=Module Installation
243
#CTL_ModuleInstallation=Module Installation
259
#LBL_Description=Description:
244
#LBL_Description=Description:
260
LBL_SetupWizardModuleInstallation=Module Installation
245
LBL_SetupWizardModuleInstallation=Module Installation
261
LBL_SetupWizardDescription=Description:
246
LBL_SetupWizardDescription=&Description:
262
LBL_SetupWizardDescription_MNE=D
247
LBL_SetupWizardCheckModules=&Check modules to enable:
263
LBL_SetupWizardCheckModules=Check modules to enable:
264
LBL_SetupWizardCheckModules_MNE=C
265
248
(-)core/src/org/netbeans/core/ui/IDESettingsPanel.java (-15 / +7 lines)
Lines 58-66 Link Here
58
    public IDESettingsPanel() {
58
    public IDESettingsPanel() {
59
        initComponents();
59
        initComponents();
60
60
61
        serverLabel.setDisplayedMnemonic(bundle.getString("LBL_Server_Name_Mnemonic").charAt(0));
62
        portLabel.setDisplayedMnemonic(bundle.getString("LBL__Port_Mnemonic").charAt(0));
63
        
64
        // inserting space character before radiobuttons and checkboxes
61
        // inserting space character before radiobuttons and checkboxes
65
        String string = bundle.getString("LBL_UseProxyServer");
62
        String string = bundle.getString("LBL_UseProxyServer");
66
        proxyCheckBox.setText(new StringBuffer(string.length() + 1).append(' ').append(string).toString());
63
        proxyCheckBox.setText(new StringBuffer(string.length() + 1).append(' ').append(string).toString());
Lines 69-78 Link Here
69
        string = bundle.getString("LBL_MDI");
66
        string = bundle.getString("LBL_MDI");
70
        mdiRadioButton.setText(new StringBuffer(string.length() + 1).append(' ').append(string).toString());
67
        mdiRadioButton.setText(new StringBuffer(string.length() + 1).append(' ').append(string).toString());
71
        
68
        
72
        proxyCheckBox.setMnemonic(bundle.getString("LBL_UseProxyServer_Mnemonic").charAt(0));
73
        sdiRadioButton.setMnemonic(bundle.getString("LBL_SDI_Mnemonic").charAt(0));
74
        mdiRadioButton.setMnemonic(bundle.getString("LBL_MDI_Mnemonic").charAt(0));
75
76
        javax.swing.ButtonGroup bg = new javax.swing.ButtonGroup();
69
        javax.swing.ButtonGroup bg = new javax.swing.ButtonGroup();
77
        bg.add(mdiRadioButton);
70
        bg.add(mdiRadioButton);
78
        bg.add(sdiRadioButton);
71
        bg.add(sdiRadioButton);
Lines 179-185 Link Here
179
        add(mdiRadioButton, gridBagConstraints);
172
        add(mdiRadioButton, gridBagConstraints);
180
173
181
        serverLabel.setLabelFor(serverField);
174
        serverLabel.setLabelFor(serverField);
182
        serverLabel.setText(bundle.getString("LBL_Server_Name"));
175
        org.openide.awt.Mnemonics.setLocalizedText(serverLabel,bundle.getString("LBL_Server_Name"));
183
        gridBagConstraints = new java.awt.GridBagConstraints();
176
        gridBagConstraints = new java.awt.GridBagConstraints();
184
        gridBagConstraints.gridx = 0;
177
        gridBagConstraints.gridx = 0;
185
        gridBagConstraints.gridy = 8;
178
        gridBagConstraints.gridy = 8;
Lines 189-195 Link Here
189
        add(serverLabel, gridBagConstraints);
182
        add(serverLabel, gridBagConstraints);
190
183
191
        portLabel.setLabelFor(portField);
184
        portLabel.setLabelFor(portField);
192
        portLabel.setText(bundle.getString("LBL_Port"));
185
        org.openide.awt.Mnemonics.setLocalizedText(portLabel,bundle.getString("LBL_Port"));
193
        gridBagConstraints = new java.awt.GridBagConstraints();
186
        gridBagConstraints = new java.awt.GridBagConstraints();
194
        gridBagConstraints.gridx = 0;
187
        gridBagConstraints.gridx = 0;
195
        gridBagConstraints.gridy = 9;
188
        gridBagConstraints.gridy = 9;
Lines 199-205 Link Here
199
        add(portLabel, gridBagConstraints);
192
        add(portLabel, gridBagConstraints);
200
193
201
        windowLabel.setLabelFor(sdiRadioButton);
194
        windowLabel.setLabelFor(sdiRadioButton);
202
        windowLabel.setText(bundle.getString("LBL_WindowMode"));
195
        org.openide.awt.Mnemonics.setLocalizedText(windowLabel,bundle.getString("LBL_WindowMode"));
203
        gridBagConstraints = new java.awt.GridBagConstraints();
196
        gridBagConstraints = new java.awt.GridBagConstraints();
204
        gridBagConstraints.gridx = 0;
197
        gridBagConstraints.gridx = 0;
205
        gridBagConstraints.gridy = 1;
198
        gridBagConstraints.gridy = 1;
Lines 208-214 Link Here
208
        add(windowLabel, gridBagConstraints);
201
        add(windowLabel, gridBagConstraints);
209
202
210
        browserLabel.setLabelFor(browserComboBox);
203
        browserLabel.setLabelFor(browserComboBox);
211
        browserLabel.setText(org.openide.util.NbBundle.getMessage(IDESettingsPanel.class, "CTL_BrowserLabel"));
204
        org.openide.awt.Mnemonics.setLocalizedText(browserLabel,org.openide.util.NbBundle.getMessage(IDESettingsPanel.class, "CTL_BrowserLabel"));
212
        gridBagConstraints = new java.awt.GridBagConstraints();
205
        gridBagConstraints = new java.awt.GridBagConstraints();
213
        gridBagConstraints.gridx = 0;
206
        gridBagConstraints.gridx = 0;
214
        gridBagConstraints.gridy = 4;
207
        gridBagConstraints.gridy = 4;
Lines 280-286 Link Here
280
        add(jTextArea1, gridBagConstraints);
273
        add(jTextArea1, gridBagConstraints);
281
274
282
        proxyLabel.setLabelFor(sdiRadioButton);
275
        proxyLabel.setLabelFor(sdiRadioButton);
283
        proxyLabel.setText(bundle.getString("LBL_WebProxy"));
276
        org.openide.awt.Mnemonics.setLocalizedText(proxyLabel,bundle.getString("LBL_WebProxy"));
284
        gridBagConstraints = new java.awt.GridBagConstraints();
277
        gridBagConstraints = new java.awt.GridBagConstraints();
285
        gridBagConstraints.gridx = 0;
278
        gridBagConstraints.gridx = 0;
286
        gridBagConstraints.gridy = 6;
279
        gridBagConstraints.gridy = 6;
Lines 335-341 Link Here
335
    }//GEN-LAST:event_changeWindowMode
328
    }//GEN-LAST:event_changeWindowMode
336
329
337
330
338
    // Variables declaration - do not modify//GEN-BEGIN:variables
331
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
339
    private javax.swing.JTextArea jTextArea2;
332
    private javax.swing.JTextArea jTextArea2;
340
    private javax.swing.JRadioButton mdiRadioButton;
333
    private javax.swing.JRadioButton mdiRadioButton;
341
    private javax.swing.JLabel browserLabel;
334
    private javax.swing.JLabel browserLabel;
Lines 352-358 Link Here
352
    private javax.swing.JLabel mdiIcon;
345
    private javax.swing.JLabel mdiIcon;
353
    private javax.swing.JLabel portLabel;
346
    private javax.swing.JLabel portLabel;
354
    private javax.swing.JCheckBox proxyCheckBox;
347
    private javax.swing.JCheckBox proxyCheckBox;
355
    // End of variables declaration//GEN-END:variables
348
    // ????? ?????????? ??????????//GEN-END:variables
356
349
357
    private int uiMode;
350
    private int uiMode;
358
351
Lines 378-384 Link Here
378
        mdiRadioButton.setSelected(uiMode == UIModeManager.MDI_MODE);
371
        mdiRadioButton.setSelected(uiMode == UIModeManager.MDI_MODE);
379
372
380
        // web browser, proxy init...
373
        // web browser, proxy init...
381
        browserLabel.setDisplayedMnemonic (bundle.getString ("CTL_BrowserLabel_mnemonic").charAt (0));
382
        try {
374
        try {
383
            IDESettings settings = (IDESettings)IDESettings.findObject (IDESettings.class, true);
375
            IDESettings settings = (IDESettings)IDESettings.findObject (IDESettings.class, true);
384
            proxyCheckBox.setSelected(settings.getUseProxy());
376
            proxyCheckBox.setSelected(settings.getUseProxy());
(-)core/src/org/netbeans/core/ui/ModuleSelectionPanel.java (-6 / +4 lines)
Lines 135-148 Link Here
135
        add(descriptionPane, gridBagConstraints);
135
        add(descriptionPane, gridBagConstraints);
136
136
137
        tableLabel.setLabelFor(treeTableView);
137
        tableLabel.setLabelFor(treeTableView);
138
        tableLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/core/ui/Bundle").getString("LBL_SetupWizardCheckModules"));
138
        org.openide.awt.Mnemonics.setLocalizedText(tableLabel,java.util.ResourceBundle.getBundle("org/netbeans/core/ui/Bundle").getString("LBL_SetupWizardCheckModules"));
139
        gridBagConstraints = new java.awt.GridBagConstraints();
139
        gridBagConstraints = new java.awt.GridBagConstraints();
140
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
140
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
141
        gridBagConstraints.insets = new java.awt.Insets(0, 1, 5, 0);
141
        gridBagConstraints.insets = new java.awt.Insets(0, 1, 5, 0);
142
        add(tableLabel, gridBagConstraints);
142
        add(tableLabel, gridBagConstraints);
143
143
144
        descriptionLabel.setLabelFor(descriptionArea);
144
        descriptionLabel.setLabelFor(descriptionArea);
145
        descriptionLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/core/ui/Bundle").getString("LBL_SetupWizardDescription"));
145
        org.openide.awt.Mnemonics.setLocalizedText(descriptionLabel,java.util.ResourceBundle.getBundle("org/netbeans/core/ui/Bundle").getString("LBL_SetupWizardDescription"));
146
        gridBagConstraints = new java.awt.GridBagConstraints();
146
        gridBagConstraints = new java.awt.GridBagConstraints();
147
        gridBagConstraints.gridx = 0;
147
        gridBagConstraints.gridx = 0;
148
        gridBagConstraints.gridy = 2;
148
        gridBagConstraints.gridy = 2;
Lines 167-180 Link Here
167
        // Add your handling code here:
167
        // Add your handling code here:
168
    }//GEN-LAST:event_prevButtonActionPerformed
168
    }//GEN-LAST:event_prevButtonActionPerformed
169
169
170
    // Variables declaration - do not modify//GEN-BEGIN:variables
170
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
171
    private javax.swing.JTextArea descriptionArea;
171
    private javax.swing.JTextArea descriptionArea;
172
    private javax.swing.JLabel tableLabel;
172
    private javax.swing.JLabel tableLabel;
173
    private org.openide.explorer.view.TreeTableView treeTableView;
173
    private org.openide.explorer.view.TreeTableView treeTableView;
174
    private org.openide.explorer.ExplorerPanel explorerPanel;
174
    private org.openide.explorer.ExplorerPanel explorerPanel;
175
    private javax.swing.JLabel descriptionLabel;
175
    private javax.swing.JLabel descriptionLabel;
176
    private javax.swing.JScrollPane descriptionPane;
176
    private javax.swing.JScrollPane descriptionPane;
177
    // End of variables declaration//GEN-END:variables
177
    // ????? ?????????? ??????????//GEN-END:variables
178
178
179
    private ExplorerManager manager;
179
    private ExplorerManager manager;
180
    
180
    
Lines 226-235 Link Here
226
        
226
        
227
        this.getAccessibleContext().setAccessibleDescription(b.getString("ACSD_ModuleSelectionPanel"));
227
        this.getAccessibleContext().setAccessibleDescription(b.getString("ACSD_ModuleSelectionPanel"));
228
        
228
        
229
        tableLabel.setDisplayedMnemonic(b.getString("LBL_SetupWizardCheckModules_MNE").charAt(0));
230
        tableLabel.getAccessibleContext().setAccessibleDescription(b.getString("ACSD_tableLabel"));
229
        tableLabel.getAccessibleContext().setAccessibleDescription(b.getString("ACSD_tableLabel"));
231
        
230
        
232
        descriptionLabel.setDisplayedMnemonic(b.getString("LBL_SetupWizardDescription_MNE").charAt(0));
233
        descriptionLabel.getAccessibleContext().setAccessibleDescription(b.getString("ACSD_descriptionLabel")); 
231
        descriptionLabel.getAccessibleContext().setAccessibleDescription(b.getString("ACSD_descriptionLabel")); 
234
    }
232
    }
235
    
233
    
(-)core/src/org/netbeans/core/ui/MountNode.java (-4 lines)
Lines 266-277 Link Here
266
            // Fix of #19667 - those values will be retreived in addNotify
266
            // Fix of #19667 - those values will be retreived in addNotify
267
            jp.putClientProperty("LAB_SelectTemplateBorder", // NOI18N
267
            jp.putClientProperty("LAB_SelectTemplateBorder", // NOI18N
268
                bundle.getString("LAB_SelectTemplateBorder")); 
268
                bundle.getString("LAB_SelectTemplateBorder")); 
269
            jp.putClientProperty("LAB_SelectTemplateBorder_Mnemonic", // NOI18N
270
                bundle.getString("LAB_SelectTemplateBorder_Mnemonic"));
271
            jp.putClientProperty("LAB_TemplateDescriptionBorder", // NOI18N
269
            jp.putClientProperty("LAB_TemplateDescriptionBorder", // NOI18N
272
                bundle.getString("LAB_TemplateDescriptionBorder"));
270
                bundle.getString("LAB_TemplateDescriptionBorder"));
273
            jp.putClientProperty("LAB_TemplateDescriptionBorder_Mnemonic", // NOI18N
274
                bundle.getString("LAB_TemplateDescriptionBorder_Mnemonic"));
275
            jp.putClientProperty("ACSD_TemplatesTree", // NOI18N
271
            jp.putClientProperty("ACSD_TemplatesTree", // NOI18N
276
                bundle.getString("ACSD_TemplatesTree"));
272
                bundle.getString("ACSD_TemplatesTree"));
277
            jp.putClientProperty("ACSD_TemplateWizard1", // NOI18N
273
            jp.putClientProperty("ACSD_TemplateWizard1", // NOI18N
(-)core/src/org/netbeans/core/ui/ProxySettingsDialog.form (-18 / +14 lines)
Lines 1-21 Link Here
1
<?xml version="1.0" encoding="UTF-8" ?>
1
<?xml version="1.0" encoding="UTF-8" ?>
2
2
3
<Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
3
<Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
4
  <SyntheticProperties>
5
    <SyntheticProperty name="encoding" type="java.lang.String" value="UTF-8"/>
6
  </SyntheticProperties>
7
4
8
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
5
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
9
  <SubComponents>
6
  <SubComponents>
10
    <Component class="javax.swing.JCheckBox" name="jCheckBoxProxyUse">
7
    <Component class="javax.swing.JCheckBox" name="jCheckBoxProxyUse">
11
      <Properties>
8
      <Properties>
12
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.ResourceBundleStringFormEditor">
9
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
13
          <ResourceString bundle="org/netbeans/core/ui/Bundle.properties" key="LAB_ProxyUse"/>
10
          <ResourceString bundle="org/netbeans/core/ui/Bundle.properties" key="LAB_ProxyUse" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
14
        </Property>
11
        </Property>
15
      </Properties>
12
      </Properties>
16
      <Constraints>
13
      <Constraints>
17
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
14
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
18
          <GridBagConstraints anchor="17" fill="0" gridHeight="1" gridWidth="2" gridX="-1" gridY="-1" insetsBottom="11" insetsLeft="12" insetsRight="11" insetsTop="12" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
15
          <GridBagConstraints gridX="-1" gridY="-1" gridWidth="2" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="12" insetsLeft="12" insetsBottom="11" insetsRight="11" anchor="17" weightX="0.0" weightY="0.0"/>
19
        </Constraint>
16
        </Constraint>
20
      </Constraints>
17
      </Constraints>
21
    </Component>
18
    </Component>
Lines 24-43 Link Here
24
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
21
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
25
          <Connection component="jTextFieldProxyHost" type="bean"/>
22
          <Connection component="jTextFieldProxyHost" type="bean"/>
26
        </Property>
23
        </Property>
27
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.ResourceBundleStringFormEditor">
24
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
28
          <ResourceString bundle="org/netbeans/core/ui/Bundle.properties" key="LAB_ProxyHost"/>
25
          <ResourceString bundle="org/netbeans/core/ui/Bundle.properties" key="LAB_ProxyHost" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
29
        </Property>
26
        </Property>
30
      </Properties>
27
      </Properties>
31
      <Constraints>
28
      <Constraints>
32
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
29
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
33
          <GridBagConstraints anchor="17" fill="0" gridHeight="1" gridWidth="1" gridX="0" gridY="1" insetsBottom="11" insetsLeft="12" insetsRight="12" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
30
          <GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="12" insetsBottom="11" insetsRight="12" anchor="17" weightX="0.0" weightY="0.0"/>
34
        </Constraint>
31
        </Constraint>
35
      </Constraints>
32
      </Constraints>
36
    </Component>
33
    </Component>
37
    <Component class="javax.swing.JTextField" name="jTextFieldProxyHost">
34
    <Component class="javax.swing.JTextField" name="jTextFieldProxyHost">
38
      <Constraints>
35
      <Constraints>
39
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
36
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
40
          <GridBagConstraints anchor="10" fill="2" gridHeight="1" gridWidth="1" gridX="1" gridY="1" insetsBottom="11" insetsLeft="0" insetsRight="11" insetsTop="0" ipadX="0" ipadY="0" weightX="1.0" weightY="0.0"/>
37
          <GridBagConstraints gridX="1" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="11" insetsRight="11" anchor="10" weightX="1.0" weightY="0.0"/>
41
        </Constraint>
38
        </Constraint>
42
      </Constraints>
39
      </Constraints>
43
    </Component>
40
    </Component>
Lines 46-80 Link Here
46
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
43
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
47
          <Connection component="jTextFieldProxyPort" type="bean"/>
44
          <Connection component="jTextFieldProxyPort" type="bean"/>
48
        </Property>
45
        </Property>
49
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.ResourceBundleStringFormEditor">
46
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
50
          <ResourceString bundle="org/netbeans/core/ui/Bundle.properties" key="LAB_ProxyPort"/>
47
          <ResourceString bundle="org/netbeans/core/ui/Bundle.properties" key="LAB_ProxyPort" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
51
        </Property>
48
        </Property>
52
      </Properties>
49
      </Properties>
53
      <Constraints>
50
      <Constraints>
54
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
51
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
55
          <GridBagConstraints anchor="17" fill="0" gridHeight="1" gridWidth="1" gridX="0" gridY="2" insetsBottom="17" insetsLeft="12" insetsRight="12" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
52
          <GridBagConstraints gridX="0" gridY="2" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="12" insetsBottom="17" insetsRight="12" anchor="17" weightX="0.0" weightY="0.0"/>
56
        </Constraint>
53
        </Constraint>
57
      </Constraints>
54
      </Constraints>
58
    </Component>
55
    </Component>
59
    <Component class="javax.swing.JTextField" name="jTextFieldProxyPort">
56
    <Component class="javax.swing.JTextField" name="jTextFieldProxyPort">
60
      <Properties>
57
      <Properties>
61
        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
62
          <Dimension value="[40, 20]"/>
63
        </Property>
64
        <Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
58
        <Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
65
          <Dimension value="[40, 2147483647]"/>
59
          <Dimension value="[40, 2147483647]"/>
66
        </Property>
60
        </Property>
67
        <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
61
        <Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
68
          <Dimension value="[40, 20]"/>
62
          <Dimension value="[40, 20]"/>
69
        </Property>
63
        </Property>
64
        <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
65
          <Dimension value="[40, 20]"/>
66
        </Property>
70
      </Properties>
67
      </Properties>
71
72
      <Events>
68
      <Events>
73
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jTextFieldProxyPortActionPerformed"/>
69
        <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jTextFieldProxyPortActionPerformed"/>
74
      </Events>
70
      </Events>
75
      <Constraints>
71
      <Constraints>
76
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
72
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
77
          <GridBagConstraints anchor="17" fill="0" gridHeight="1" gridWidth="1" gridX="1" gridY="2" insetsBottom="17" insetsLeft="0" insetsRight="11" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
73
          <GridBagConstraints gridX="1" gridY="2" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="17" insetsRight="11" anchor="17" weightX="0.0" weightY="0.0"/>
78
        </Constraint>
74
        </Constraint>
79
      </Constraints>
75
      </Constraints>
80
    </Component>
76
    </Component>
(-)core/src/org/netbeans/core/ui/ProxySettingsDialog.java (-59 / +49 lines)
Lines 34-42 Link Here
34
        jCheckBoxProxyUse.setSelected(settings.getUseProxy());
34
        jCheckBoxProxyUse.setSelected(settings.getUseProxy());
35
        jTextFieldProxyHost.setText(settings.getProxyHost());
35
        jTextFieldProxyHost.setText(settings.getProxyHost());
36
        jTextFieldProxyPort.setText(settings.getProxyPort());
36
        jTextFieldProxyPort.setText(settings.getProxyPort());
37
        jCheckBoxProxyUse.setMnemonic(bundle.getString("LAB_ProxyUse_Mnemonic").charAt(0));
38
        jLabelProxyHost.setDisplayedMnemonic(bundle.getString("LAB_ProxyHost_Mnemonic").charAt(0));
39
        jLabelProxyPort.setDisplayedMnemonic(bundle.getString("LAB_ProxyPort_Mnemonic").charAt(0));
40
    }
37
    }
41
38
42
    /** This method is called from within the constructor to
39
    /** This method is called from within the constructor to
Lines 45-116 Link Here
45
     * always regenerated by the Form Editor.
42
     * always regenerated by the Form Editor.
46
     */
43
     */
47
    private void initComponents() {//GEN-BEGIN:initComponents
44
    private void initComponents() {//GEN-BEGIN:initComponents
45
        java.awt.GridBagConstraints gridBagConstraints;
46
48
        jCheckBoxProxyUse = new javax.swing.JCheckBox();
47
        jCheckBoxProxyUse = new javax.swing.JCheckBox();
49
        jLabelProxyHost = new javax.swing.JLabel();
48
        jLabelProxyHost = new javax.swing.JLabel();
50
        jTextFieldProxyHost = new javax.swing.JTextField();
49
        jTextFieldProxyHost = new javax.swing.JTextField();
51
        jLabelProxyPort = new javax.swing.JLabel();
50
        jLabelProxyPort = new javax.swing.JLabel();
52
        jTextFieldProxyPort = new javax.swing.JTextField();
51
        jTextFieldProxyPort = new javax.swing.JTextField();
52
53
        setLayout(new java.awt.GridBagLayout());
53
        setLayout(new java.awt.GridBagLayout());
54
        java.awt.GridBagConstraints gridBagConstraints1;
54
55
        
55
        org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxProxyUse,java.util.ResourceBundle.getBundle("org/netbeans/core/ui/Bundle").getString("LAB_ProxyUse"));
56
        jCheckBoxProxyUse.setText(bundle.getString("LAB_ProxyUse"));
56
        gridBagConstraints = new java.awt.GridBagConstraints();
57
        
57
        gridBagConstraints.gridwidth = 2;
58
        gridBagConstraints1 = new java.awt.GridBagConstraints();
58
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
59
        gridBagConstraints1.gridwidth = 2;
59
        gridBagConstraints.insets = new java.awt.Insets(12, 12, 11, 11);
60
        gridBagConstraints1.insets = new java.awt.Insets(12, 12, 11, 11);
60
        add(jCheckBoxProxyUse, gridBagConstraints);
61
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
61
62
        add(jCheckBoxProxyUse, gridBagConstraints1);
63
        
64
        
65
        jLabelProxyHost.setLabelFor(jTextFieldProxyHost);
62
        jLabelProxyHost.setLabelFor(jTextFieldProxyHost);
66
        jLabelProxyHost.setText(bundle.getString("LAB_ProxyHost"));
63
        org.openide.awt.Mnemonics.setLocalizedText(jLabelProxyHost,java.util.ResourceBundle.getBundle("org/netbeans/core/ui/Bundle").getString("LAB_ProxyHost"));
67
        
64
        gridBagConstraints = new java.awt.GridBagConstraints();
68
        gridBagConstraints1 = new java.awt.GridBagConstraints();
65
        gridBagConstraints.gridx = 0;
69
        gridBagConstraints1.gridx = 0;
66
        gridBagConstraints.gridy = 1;
70
        gridBagConstraints1.gridy = 1;
67
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
71
        gridBagConstraints1.insets = new java.awt.Insets(0, 12, 11, 12);
68
        gridBagConstraints.insets = new java.awt.Insets(0, 12, 11, 12);
72
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
69
        add(jLabelProxyHost, gridBagConstraints);
73
        add(jLabelProxyHost, gridBagConstraints1);
70
74
        
71
        gridBagConstraints = new java.awt.GridBagConstraints();
75
        
72
        gridBagConstraints.gridx = 1;
76
        
73
        gridBagConstraints.gridy = 1;
77
        gridBagConstraints1 = new java.awt.GridBagConstraints();
74
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
78
        gridBagConstraints1.gridx = 1;
75
        gridBagConstraints.weightx = 1.0;
79
        gridBagConstraints1.gridy = 1;
76
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 11, 11);
80
        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
77
        add(jTextFieldProxyHost, gridBagConstraints);
81
        gridBagConstraints1.insets = new java.awt.Insets(0, 0, 11, 11);
78
82
        gridBagConstraints1.weightx = 1.0;
83
        add(jTextFieldProxyHost, gridBagConstraints1);
84
        
85
        
86
        jLabelProxyPort.setLabelFor(jTextFieldProxyPort);
79
        jLabelProxyPort.setLabelFor(jTextFieldProxyPort);
87
        jLabelProxyPort.setText(bundle.getString("LAB_ProxyPort"));
80
        org.openide.awt.Mnemonics.setLocalizedText(jLabelProxyPort,java.util.ResourceBundle.getBundle("org/netbeans/core/ui/Bundle").getString("LAB_ProxyPort"));
88
        
81
        gridBagConstraints = new java.awt.GridBagConstraints();
89
        gridBagConstraints1 = new java.awt.GridBagConstraints();
82
        gridBagConstraints.gridx = 0;
90
        gridBagConstraints1.gridx = 0;
83
        gridBagConstraints.gridy = 2;
91
        gridBagConstraints1.gridy = 2;
84
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
92
        gridBagConstraints1.insets = new java.awt.Insets(0, 12, 17, 12);
85
        gridBagConstraints.insets = new java.awt.Insets(0, 12, 17, 12);
93
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
86
        add(jLabelProxyPort, gridBagConstraints);
94
        add(jLabelProxyPort, gridBagConstraints1);
87
95
        
96
        
97
        jTextFieldProxyPort.setPreferredSize(new java.awt.Dimension(40, 20));
98
        jTextFieldProxyPort.setMaximumSize(new java.awt.Dimension(40, 2147483647));
88
        jTextFieldProxyPort.setMaximumSize(new java.awt.Dimension(40, 2147483647));
99
        jTextFieldProxyPort.setMinimumSize(new java.awt.Dimension(40, 20));
89
        jTextFieldProxyPort.setMinimumSize(new java.awt.Dimension(40, 20));
90
        jTextFieldProxyPort.setPreferredSize(new java.awt.Dimension(40, 20));
100
        jTextFieldProxyPort.addActionListener(new java.awt.event.ActionListener() {
91
        jTextFieldProxyPort.addActionListener(new java.awt.event.ActionListener() {
101
            public void actionPerformed(java.awt.event.ActionEvent evt) {
92
            public void actionPerformed(java.awt.event.ActionEvent evt) {
102
                jTextFieldProxyPortActionPerformed(evt);
93
                jTextFieldProxyPortActionPerformed(evt);
103
            }
94
            }
104
        }
95
        });
105
        );
96
106
        
97
        gridBagConstraints = new java.awt.GridBagConstraints();
107
        gridBagConstraints1 = new java.awt.GridBagConstraints();
98
        gridBagConstraints.gridx = 1;
108
        gridBagConstraints1.gridx = 1;
99
        gridBagConstraints.gridy = 2;
109
        gridBagConstraints1.gridy = 2;
100
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
110
        gridBagConstraints1.insets = new java.awt.Insets(0, 0, 17, 11);
101
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 17, 11);
111
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
102
        add(jTextFieldProxyPort, gridBagConstraints);
112
        add(jTextFieldProxyPort, gridBagConstraints1);
103
113
        
114
    }//GEN-END:initComponents
104
    }//GEN-END:initComponents
115
105
116
    private void jTextFieldProxyPortActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextFieldProxyPortActionPerformed
106
    private void jTextFieldProxyPortActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextFieldProxyPortActionPerformed
Lines 118-130 Link Here
118
    }//GEN-LAST:event_jTextFieldProxyPortActionPerformed
108
    }//GEN-LAST:event_jTextFieldProxyPortActionPerformed
119
109
120
110
121
    // Variables declaration - do not modify//GEN-BEGIN:variables
111
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
122
    private javax.swing.JCheckBox jCheckBoxProxyUse;
123
    private javax.swing.JLabel jLabelProxyHost;
112
    private javax.swing.JLabel jLabelProxyHost;
124
    private javax.swing.JTextField jTextFieldProxyHost;
113
    private javax.swing.JCheckBox jCheckBoxProxyUse;
125
    private javax.swing.JLabel jLabelProxyPort;
114
    private javax.swing.JLabel jLabelProxyPort;
126
    private javax.swing.JTextField jTextFieldProxyPort;
115
    private javax.swing.JTextField jTextFieldProxyPort;
127
    // End of variables declaration//GEN-END:variables
116
    private javax.swing.JTextField jTextFieldProxyHost;
117
    // ????? ?????????? ??????????//GEN-END:variables
128
118
129
    private static final java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("org/netbeans/core/ui/Bundle"); // NOI18N
119
    private static final java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("org/netbeans/core/ui/Bundle"); // NOI18N
130
120
(-)core/src/org/netbeans/core/ui/WebBrowserPanel.form (-11 / +8 lines)
Lines 1-9 Link Here
1
<?xml version="1.0" encoding="UTF-8" ?>
1
<?xml version="1.0" encoding="UTF-8" ?>
2
2
3
<Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
3
<Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
4
  <SyntheticProperties>
5
    <SyntheticProperty name="encoding" type="java.lang.String" value="UTF-8"/>
6
  </SyntheticProperties>
7
4
8
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
5
  <Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
9
  <SubComponents>
6
  <SubComponents>
Lines 15-45 Link Here
15
      </Properties>
12
      </Properties>
16
      <Constraints>
13
      <Constraints>
17
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
14
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
18
          <GridBagConstraints anchor="17" fill="0" gridHeight="1" gridWidth="1" gridX="0" gridY="0" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
15
          <GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
19
        </Constraint>
16
        </Constraint>
20
      </Constraints>
17
      </Constraints>
21
    </Component>
18
    </Component>
22
    <Component class="javax.swing.JComboBox" name="browserComboBox">
19
    <Component class="javax.swing.JComboBox" name="browserComboBox">
23
      <Constraints>
20
      <Constraints>
24
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
21
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
25
          <GridBagConstraints anchor="17" fill="0" gridHeight="1" gridWidth="1" gridX="1" gridY="0" insetsBottom="0" insetsLeft="12" insetsRight="0" insetsTop="0" ipadX="0" ipadY="0" weightX="0.0" weightY="0.0"/>
22
          <GridBagConstraints gridX="1" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="12" insetsBottom="0" insetsRight="0" anchor="17" weightX="0.0" weightY="0.0"/>
26
        </Constraint>
23
        </Constraint>
27
      </Constraints>
24
      </Constraints>
28
    </Component>
25
    </Component>
29
    <Component class="javax.swing.JTextArea" name="helpTextArea">
26
    <Component class="javax.swing.JTextArea" name="helpTextArea">
30
      <Properties>
27
      <Properties>
31
        <Property name="wrapStyleWord" type="boolean" editor="sun.beans.editors.BoolEditor" value="true"/>
28
        <Property name="editable" type="boolean" value="false"/>
32
        <Property name="lineWrap" type="boolean" editor="sun.beans.editors.BoolEditor" value="true"/>
29
        <Property name="lineWrap" type="boolean" value="true"/>
33
        <Property name="editable" type="boolean" editor="sun.beans.editors.BoolEditor" value="false"/>
34
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
30
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
35
          <Connection code="bundle.getString(&quot;CTL_HelpTextArea&quot;)" type="code"/>
31
          <Connection code="bundle.getString(&quot;CTL_HelpTextArea&quot;)" type="code"/>
36
        </Property>
32
        </Property>
37
        <Property name="enabled" type="boolean" editor="sun.beans.editors.BoolEditor" value="false"/>
33
        <Property name="wrapStyleWord" type="boolean" value="true"/>
38
        <Property name="opaque" type="boolean" editor="sun.beans.editors.BoolEditor" value="false"/>
34
        <Property name="enabled" type="boolean" value="false"/>
35
        <Property name="opaque" type="boolean" value="false"/>
39
      </Properties>
36
      </Properties>
40
      <Constraints>
37
      <Constraints>
41
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
38
        <Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
42
          <GridBagConstraints anchor="18" fill="2" gridHeight="1" gridWidth="0" gridX="0" gridY="1" insetsBottom="0" insetsLeft="0" insetsRight="0" insetsTop="17" ipadX="0" ipadY="0" weightX="1.0" weightY="1.0"/>
39
          <GridBagConstraints gridX="0" gridY="1" gridWidth="0" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="17" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="18" weightX="1.0" weightY="1.0"/>
43
        </Constraint>
40
        </Constraint>
44
      </Constraints>
41
      </Constraints>
45
    </Component>
42
    </Component>
(-)core/src/org/netbeans/core/ui/WebBrowserPanel.java (-33 / +33 lines)
Lines 35-41 Link Here
35
    /** Creates new form WebBrowserPanel */
35
    /** Creates new form WebBrowserPanel */
36
    public WebBrowserPanel () {
36
    public WebBrowserPanel () {
37
        initComponents();
37
        initComponents();
38
        browserLabel.setDisplayedMnemonic (bundle.getString ("CTL_BrowserLabel_mnemonic").charAt (0));
39
        browserLabel.setLabelFor (browserComboBox);
38
        browserLabel.setLabelFor (browserComboBox);
40
        helpTextArea.setFont (javax.swing.UIManager.getFont ("Label.font")); // NOI18N
39
        helpTextArea.setFont (javax.swing.UIManager.getFont ("Label.font")); // NOI18N
41
        helpTextArea.setDisabledTextColor (javax.swing.UIManager.getColor ("Label.foreground")); // NOI18N
40
        helpTextArea.setDisabledTextColor (javax.swing.UIManager.getColor ("Label.foreground")); // NOI18N
Lines 63-114 Link Here
63
     * always regenerated by the Form Editor.
62
     * always regenerated by the Form Editor.
64
     */
63
     */
65
    private void initComponents() {//GEN-BEGIN:initComponents
64
    private void initComponents() {//GEN-BEGIN:initComponents
65
        java.awt.GridBagConstraints gridBagConstraints;
66
66
        browserLabel = new javax.swing.JLabel();
67
        browserLabel = new javax.swing.JLabel();
67
        browserComboBox = new javax.swing.JComboBox();
68
        browserComboBox = new javax.swing.JComboBox();
68
        helpTextArea = new javax.swing.JTextArea();
69
        helpTextArea = new javax.swing.JTextArea();
69
        
70
70
        setLayout(new java.awt.GridBagLayout());
71
        setLayout(new java.awt.GridBagLayout());
71
        java.awt.GridBagConstraints gridBagConstraints1;
72
72
        
73
        org.openide.awt.Mnemonics.setLocalizedText(browserLabel,bundle.getString ("CTL_BrowserLabel"));
73
        browserLabel.setText(bundle.getString ("CTL_BrowserLabel"));
74
        gridBagConstraints = new java.awt.GridBagConstraints();
74
        gridBagConstraints1 = new java.awt.GridBagConstraints();
75
        gridBagConstraints.gridx = 0;
75
        gridBagConstraints1.gridx = 0;
76
        gridBagConstraints.gridy = 0;
76
        gridBagConstraints1.gridy = 0;
77
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
77
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
78
        add(browserLabel, gridBagConstraints);
78
        add(browserLabel, gridBagConstraints1);
79
79
        
80
        gridBagConstraints = new java.awt.GridBagConstraints();
80
        gridBagConstraints1 = new java.awt.GridBagConstraints();
81
        gridBagConstraints.gridx = 1;
81
        gridBagConstraints1.gridx = 1;
82
        gridBagConstraints.gridy = 0;
82
        gridBagConstraints1.gridy = 0;
83
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
83
        gridBagConstraints1.insets = new java.awt.Insets(0, 12, 0, 0);
84
        gridBagConstraints.insets = new java.awt.Insets(0, 12, 0, 0);
84
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.WEST;
85
        add(browserComboBox, gridBagConstraints);
85
        add(browserComboBox, gridBagConstraints1);
86
86
        
87
        helpTextArea.setWrapStyleWord(true);
88
        helpTextArea.setLineWrap(true);
89
        helpTextArea.setEditable(false);
87
        helpTextArea.setEditable(false);
88
        helpTextArea.setLineWrap(true);
90
        helpTextArea.setText(bundle.getString("CTL_HelpTextArea"));
89
        helpTextArea.setText(bundle.getString("CTL_HelpTextArea"));
90
        helpTextArea.setWrapStyleWord(true);
91
        helpTextArea.setEnabled(false);
91
        helpTextArea.setEnabled(false);
92
        helpTextArea.setOpaque(false);
92
        helpTextArea.setOpaque(false);
93
        gridBagConstraints1 = new java.awt.GridBagConstraints();
93
        gridBagConstraints = new java.awt.GridBagConstraints();
94
        gridBagConstraints1.gridx = 0;
94
        gridBagConstraints.gridx = 0;
95
        gridBagConstraints1.gridy = 1;
95
        gridBagConstraints.gridy = 1;
96
        gridBagConstraints1.gridwidth = java.awt.GridBagConstraints.REMAINDER;
96
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
97
        gridBagConstraints1.fill = java.awt.GridBagConstraints.HORIZONTAL;
97
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
98
        gridBagConstraints1.insets = new java.awt.Insets(17, 0, 0, 0);
98
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
99
        gridBagConstraints1.anchor = java.awt.GridBagConstraints.NORTHWEST;
99
        gridBagConstraints.weightx = 1.0;
100
        gridBagConstraints1.weightx = 1.0;
100
        gridBagConstraints.weighty = 1.0;
101
        gridBagConstraints1.weighty = 1.0;
101
        gridBagConstraints.insets = new java.awt.Insets(17, 0, 0, 0);
102
        add(helpTextArea, gridBagConstraints1);
102
        add(helpTextArea, gridBagConstraints);
103
        
103
104
    }//GEN-END:initComponents
104
    }//GEN-END:initComponents
105
105
106
106
107
    // Variables declaration - do not modify//GEN-BEGIN:variables
107
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
108
    private javax.swing.JLabel browserLabel;
108
    private javax.swing.JLabel browserLabel;
109
    private javax.swing.JComboBox browserComboBox;
109
    private javax.swing.JComboBox browserComboBox;
110
    private javax.swing.JTextArea helpTextArea;
110
    private javax.swing.JTextArea helpTextArea;
111
    // End of variables declaration//GEN-END:variables
111
    // ????? ?????????? ??????????//GEN-END:variables
112
112
113
    /** listeners on validation of panel changes */
113
    /** listeners on validation of panel changes */
114
    private ArrayList changeListeners = new ArrayList(1);
114
    private ArrayList changeListeners = new ArrayList(1);
(-)core/src/org/netbeans/core/ui/WelcomePanel.form (-10 / +4 lines)
Lines 62-70 Link Here
62
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
62
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
63
              <ResourceString bundle="org/netbeans/core/ui/Bundle.properties" key="LABEL_WelcomeHTMLPages" replaceFormat="bundle.getString(&quot;{key}&quot;)"/>
63
              <ResourceString bundle="org/netbeans/core/ui/Bundle.properties" key="LABEL_WelcomeHTMLPages" replaceFormat="bundle.getString(&quot;{key}&quot;)"/>
64
            </Property>
64
            </Property>
65
            <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
66
              <Color blue="0" green="0" id="black" palette="0" red="0" type="palette"/>
67
            </Property>
68
            <Property name="requestFocusEnabled" type="boolean" value="false"/>
65
            <Property name="requestFocusEnabled" type="boolean" value="false"/>
69
          </Properties>
66
          </Properties>
70
          <AuxValues>
67
          <AuxValues>
Lines 150-165 Link Here
150
      <SubComponents>
147
      <SubComponents>
151
        <Component class="javax.swing.JLabel" name="jLabelTipTitle">
148
        <Component class="javax.swing.JLabel" name="jLabelTipTitle">
152
          <Properties>
149
          <Properties>
150
            <Property name="horizontalAlignment" type="int" value="2"/>
153
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
151
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
154
              <Connection component="tipsBrowser" type="bean"/>
152
              <Connection component="tipsBrowser" type="bean"/>
155
            </Property>
153
            </Property>
156
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
154
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
157
              <ResourceString bundle="org/netbeans/core/ui/Bundle.properties" key="LABEL_WelcomeTipPages" replaceFormat="bundle.getString(&quot;{key}&quot;)"/>
155
              <ResourceString bundle="org/netbeans/core/ui/Bundle.properties" key="LABEL_WelcomeTipPages" replaceFormat="bundle.getString(&quot;{key}&quot;)"/>
158
            </Property>
156
            </Property>
159
            <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
160
              <Color blue="0" green="0" id="black" palette="0" red="0" type="palette"/>
161
            </Property>
162
            <Property name="horizontalAlignment" type="int" value="2"/>
163
            <Property name="requestFocusEnabled" type="boolean" value="false"/>
157
            <Property name="requestFocusEnabled" type="boolean" value="false"/>
164
          </Properties>
158
          </Properties>
165
          <AuxValues>
159
          <AuxValues>
Lines 259-270 Link Here
259
                <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
253
                <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
260
                  <Font name="Dialog" size="11" style="0"/>
254
                  <Font name="Dialog" size="11" style="0"/>
261
                </Property>
255
                </Property>
256
                <Property name="nextFocusableComponent" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
257
                  <Connection component="showOnStartupCheckBox" type="bean"/>
258
                </Property>
262
                <Property name="requestFocusEnabled" type="boolean" value="false"/>
259
                <Property name="requestFocusEnabled" type="boolean" value="false"/>
263
                <Property name="editorKit" type="javax.swing.text.EditorKit" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
260
                <Property name="editorKit" type="javax.swing.text.EditorKit" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
264
                  <Connection code="new javax.swing.text.html.HTMLEditorKit ()" type="code"/>
261
                  <Connection code="new javax.swing.text.html.HTMLEditorKit ()" type="code"/>
265
                </Property>
266
                <Property name="nextFocusableComponent" type="java.awt.Component" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
267
                  <Connection component="showOnStartupCheckBox" type="bean"/>
268
                </Property>
262
                </Property>
269
              </Properties>
263
              </Properties>
270
            </Component>
264
            </Component>
(-)core/src/org/netbeans/core/ui/WelcomePanel.java (-28 / +22 lines)
Lines 207-214 Link Here
207
        jPanelHtml.add(contextBrowserScroll, gridBagConstraints);
207
        jPanelHtml.add(contextBrowserScroll, gridBagConstraints);
208
208
209
        jLabelHtmlTitle.setLabelFor(buttonSetPanel);
209
        jLabelHtmlTitle.setLabelFor(buttonSetPanel);
210
        jLabelHtmlTitle.setText(bundle.getString("LABEL_WelcomeHTMLPages"));
210
        org.openide.awt.Mnemonics.setLocalizedText(jLabelHtmlTitle,bundle.getString("LABEL_WelcomeHTMLPages"));
211
        jLabelHtmlTitle.setForeground(java.awt.Color.black);
212
        jLabelHtmlTitle.setRequestFocusEnabled(false);
211
        jLabelHtmlTitle.setRequestFocusEnabled(false);
213
        gridBagConstraints = new java.awt.GridBagConstraints();
212
        gridBagConstraints = new java.awt.GridBagConstraints();
214
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
213
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
Lines 241-258 Link Here
241
        jPanelButton.setLayout(new java.awt.GridBagLayout());
240
        jPanelButton.setLayout(new java.awt.GridBagLayout());
242
241
243
        jPanelButton.setRequestFocusEnabled(false);
242
        jPanelButton.setRequestFocusEnabled(false);
244
        showOnStartupCheckBox.setText(bundle.getString("CTL_NEXTSTARTUP"));
243
        org.openide.awt.Mnemonics.setLocalizedText(showOnStartupCheckBox,bundle.getString("CTL_NEXTSTARTUP"));
245
        showOnStartupCheckBox.setNextFocusableComponent(closeButton);
244
        showOnStartupCheckBox.setNextFocusableComponent(closeButton);
246
        gridBagConstraints = new java.awt.GridBagConstraints();
245
        gridBagConstraints = new java.awt.GridBagConstraints();
247
        gridBagConstraints.gridx = 0;
246
        gridBagConstraints.gridx = 0;
248
        gridBagConstraints.gridy = 0;
247
        gridBagConstraints.gridy = 0;
249
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
248
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
250
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 12);
251
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
249
        gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST;
252
        gridBagConstraints.weightx = 1.0;
250
        gridBagConstraints.weightx = 1.0;
251
        gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 12);
253
        jPanelButton.add(showOnStartupCheckBox, gridBagConstraints);
252
        jPanelButton.add(showOnStartupCheckBox, gridBagConstraints);
254
253
255
        closeButton.setText(bundle.getString("CTL_CLOSE"));
254
        org.openide.awt.Mnemonics.setLocalizedText(closeButton,bundle.getString("CTL_CLOSE"));
256
        jPanelButton.add(closeButton, new java.awt.GridBagConstraints());
255
        jPanelButton.add(closeButton, new java.awt.GridBagConstraints());
257
256
258
        gridBagConstraints = new java.awt.GridBagConstraints();
257
        gridBagConstraints = new java.awt.GridBagConstraints();
Lines 267-276 Link Here
267
266
268
        jPanelTip.setBorder(new javax.swing.border.EtchedBorder());
267
        jPanelTip.setBorder(new javax.swing.border.EtchedBorder());
269
        jPanelTip.setRequestFocusEnabled(false);
268
        jPanelTip.setRequestFocusEnabled(false);
270
        jLabelTipTitle.setLabelFor(tipsBrowser);
271
        jLabelTipTitle.setText(bundle.getString("LABEL_WelcomeTipPages"));
272
        jLabelTipTitle.setForeground(java.awt.Color.black);
273
        jLabelTipTitle.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
269
        jLabelTipTitle.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
270
        jLabelTipTitle.setLabelFor(tipsBrowser);
271
        org.openide.awt.Mnemonics.setLocalizedText(jLabelTipTitle,bundle.getString("LABEL_WelcomeTipPages"));
274
        jLabelTipTitle.setRequestFocusEnabled(false);
272
        jLabelTipTitle.setRequestFocusEnabled(false);
275
        gridBagConstraints = new java.awt.GridBagConstraints();
273
        gridBagConstraints = new java.awt.GridBagConstraints();
276
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
274
        gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
Lines 282-288 Link Here
282
280
283
        jPanelTipButton.setRequestFocusEnabled(false);
281
        jPanelTipButton.setRequestFocusEnabled(false);
284
        nextTipButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/netbeans/core/resources/actions/tipOfTheDay.gif")));
282
        nextTipButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/netbeans/core/resources/actions/tipOfTheDay.gif")));
285
        nextTipButton.setText(bundle1.getString("CTL_NEXT_BUTTON"));
283
        org.openide.awt.Mnemonics.setLocalizedText(nextTipButton,bundle1.getString("CTL_NEXT_BUTTON"));
286
        nextTipButton.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(2, 2, 2, 2)));
284
        nextTipButton.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(2, 2, 2, 2)));
287
        nextTipButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
285
        nextTipButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
288
        nextTipButton.setNextFocusableComponent(prevTipButton);
286
        nextTipButton.setNextFocusableComponent(prevTipButton);
Lines 300-306 Link Here
300
        jPanelTipButton.add(nextTipButton, gridBagConstraints);
298
        jPanelTipButton.add(nextTipButton, gridBagConstraints);
301
299
302
        prevTipButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/netbeans/core/resources/actions/tipOfTheDay.gif")));
300
        prevTipButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/netbeans/core/resources/actions/tipOfTheDay.gif")));
303
        prevTipButton.setText(bundle1.getString("CTL_PREV_BUTTON"));
301
        org.openide.awt.Mnemonics.setLocalizedText(prevTipButton,bundle1.getString("CTL_PREV_BUTTON"));
304
        prevTipButton.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(2, 2, 2, 2)));
302
        prevTipButton.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(2, 2, 2, 2)));
305
        prevTipButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
303
        prevTipButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
306
        prevTipButton.setNextFocusableComponent(tipsBrowser);
304
        prevTipButton.setNextFocusableComponent(tipsBrowser);
Lines 331-339 Link Here
331
        tipsScrollPane.setPreferredSize(new java.awt.Dimension(420, 120));
329
        tipsScrollPane.setPreferredSize(new java.awt.Dimension(420, 120));
332
        tipsBrowser.setEditable(false);
330
        tipsBrowser.setEditable(false);
333
        tipsBrowser.setFont(new java.awt.Font("Dialog", 0, 11));
331
        tipsBrowser.setFont(new java.awt.Font("Dialog", 0, 11));
332
        tipsBrowser.setNextFocusableComponent(showOnStartupCheckBox);
334
        tipsBrowser.setRequestFocusEnabled(false);
333
        tipsBrowser.setRequestFocusEnabled(false);
335
        tipsBrowser.setEditorKit(new javax.swing.text.html.HTMLEditorKit ());
334
        tipsBrowser.setEditorKit(new javax.swing.text.html.HTMLEditorKit ());
336
        tipsBrowser.setNextFocusableComponent(showOnStartupCheckBox);
337
        tipsScrollPane.setViewportView(tipsBrowser);
335
        tipsScrollPane.setViewportView(tipsBrowser);
338
336
339
        gridBagConstraints = new java.awt.GridBagConstraints();
337
        gridBagConstraints = new java.awt.GridBagConstraints();
Lines 365-387 Link Here
365
  }//GEN-LAST:event_nextTipButtonActionPerformed
363
  }//GEN-LAST:event_nextTipButtonActionPerformed
366
364
367
365
368
    // Variables declaration - do not modify//GEN-BEGIN:variables
366
    // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables
369
    private javax.swing.JPanel jPanelButton;
367
    private javax.swing.JScrollPane tipsScrollPane;
370
    private javax.swing.JCheckBox showOnStartupCheckBox;
371
    private javax.swing.JButton closeButton;
372
    private javax.swing.JEditorPane contextBrowser;
373
    private javax.swing.JButton nextTipButton;
368
    private javax.swing.JButton nextTipButton;
374
    private javax.swing.JLabel jLabelTipTitle;
369
    private javax.swing.JEditorPane contextBrowser;
375
    private javax.swing.JEditorPane tipsBrowser;
370
    private javax.swing.JCheckBox showOnStartupCheckBox;
376
    private javax.swing.JPanel buttonSetPanel;
371
    private javax.swing.JButton prevTipButton;
372
    private javax.swing.JPanel jPanelButton;
373
    private javax.swing.JLabel jLabelHtmlTitle;
377
    private javax.swing.JPanel jPanelHtml;
374
    private javax.swing.JPanel jPanelHtml;
375
    private javax.swing.JLabel jLabelTipTitle;
378
    private javax.swing.JPanel jPanelTip;
376
    private javax.swing.JPanel jPanelTip;
379
    private javax.swing.JLabel jLabelHtmlTitle;
380
    private javax.swing.JPanel jPanelTipButton;
381
    private javax.swing.JButton prevTipButton;
382
    private javax.swing.JScrollPane tipsScrollPane;
383
    private javax.swing.JScrollPane contextBrowserScroll;
377
    private javax.swing.JScrollPane contextBrowserScroll;
384
    // End of variables declaration//GEN-END:variables
378
    private javax.swing.JPanel jPanelTipButton;
379
    private javax.swing.JButton closeButton;
380
    private javax.swing.JEditorPane tipsBrowser;
381
    private javax.swing.JPanel buttonSetPanel;
382
    // ????? ?????????? ??????????//GEN-END:variables
385
383
386
    javax.swing.JButton getCloseButton() {
384
    javax.swing.JButton getCloseButton() {
387
        return closeButton;
385
        return closeButton;
Lines 913-922 Link Here
913
911
914
        ResourceBundle b = NbBundle.getBundle(this.getClass());
912
        ResourceBundle b = NbBundle.getBundle(this.getClass());
915
        
913
        
916
        showOnStartupCheckBox.setMnemonic(b.getString("MNE_NEXTSTARTUP").charAt(0));
917
        nextTipButton.setMnemonic(b.getString("MNE_NEXT_BUTTON").charAt(0));
918
        prevTipButton.setMnemonic(b.getString("MNE_PREV_BUTTON").charAt(0));
919
         
920
         nextTipButton.getAccessibleContext().setAccessibleDescription(b.getString("ACSD_nextTipButton"));
914
         nextTipButton.getAccessibleContext().setAccessibleDescription(b.getString("ACSD_nextTipButton"));
921
         prevTipButton.getAccessibleContext().setAccessibleDescription(b.getString("ACSD_prevTipButton"));
915
         prevTipButton.getAccessibleContext().setAccessibleDescription(b.getString("ACSD_prevTipButton"));
922
         
916
         
(-)core/src/org/netbeans/core/windows/Bundle.properties (-4 / +2 lines)
Lines 88-97 Link Here
88
LBL_ChooseWorkspace=Choose Workspace or Window Below:
88
LBL_ChooseWorkspace=Choose Workspace or Window Below:
89
89
90
#WorkspaceExplorerDialog
90
#WorkspaceExplorerDialog
91
CTL_Open=Open Selected
91
CTL_Open=&Open Selected
92
CTL_Cancel=Cancel
92
CTL_Cancel=&Cancel
93
CTL_Open_Mnem=O
94
CTL_Cancel_Mnem=C
95
ACS_Open=Open selected workspace and its mode
93
ACS_Open=Open selected workspace and its mode
96
ACS_Cancel=Close this dialog without changes
94
ACS_Cancel=Close this dialog without changes
97
95
(-)core/src/org/netbeans/core/windows/WorkspaceExplorerDialog.java (-8 / +6 lines)
Lines 139-157 Link Here
139
    private JButton[] getButtons() {
139
    private JButton[] getButtons() {
140
        if (buttons == null) {
140
        if (buttons == null) {
141
            buttons = new JButton[] {
141
            buttons = new JButton[] {
142
                new JButton(NbBundle.getMessage(WorkspaceExplorerDialog.class,
142
                new JButton(),
143
                        "CTL_Open")),
143
                new JButton()
144
                new JButton(NbBundle.getMessage(WorkspaceExplorerDialog.class,
145
                        "CTL_Cancel"))
146
            };
144
            };
147
            buttons[0].setMnemonic(NbBundle.getMessage(
145
            org.openide.awt.Mnemonics.setLocalizedText(buttons[0],
148
                    WorkspaceExplorerDialog.class, "CTL_Open_Mnem").charAt(0));
146
                    NbBundle.getMessage(WorkspaceExplorerDialog.class,"CTL_Open"));
149
            buttons[0].getAccessibleContext().setAccessibleDescription(
147
            buttons[0].getAccessibleContext().setAccessibleDescription(
150
                    NbBundle.getMessage(WorkspaceExplorerDialog.class,
148
                    NbBundle.getMessage(WorkspaceExplorerDialog.class,
151
                            "ACS_Open"));
149
                            "ACS_Open"));
152
            
150
            
153
            buttons[1].setMnemonic(NbBundle.getMessage(
151
            org.openide.awt.Mnemonics.setLocalizedText(buttons[1], 
154
                    WorkspaceExplorerDialog.class, "CTL_Cancel_Mnem").charAt(0));
152
                    NbBundle.getMessage(WorkspaceExplorerDialog.class,"CTL_Cancel"));
155
            buttons[1].getAccessibleContext().setAccessibleDescription(
153
            buttons[1].getAccessibleContext().setAccessibleDescription(
156
                    NbBundle.getMessage(WorkspaceExplorerDialog.class,
154
                    NbBundle.getMessage(WorkspaceExplorerDialog.class,
157
                            "ACS_Cancel"));
155
                            "ACS_Cancel"));

Return to bug 31379