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

(-)core/src/org/netbeans/beaninfo/editors/FileSystemPanel.form (-3 / +3 lines)
Lines 88-94 Link Here
88
    <Component class="javax.swing.JButton" name="browseDirButton">
88
    <Component class="javax.swing.JButton" name="browseDirButton">
89
      <Properties>
89
      <Properties>
90
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
90
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
91
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.browse" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
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;)"/>
92
        </Property>
92
        </Property>
93
      </Properties>
93
      </Properties>
94
94
Lines 149-158 Link Here
149
    <Component class="javax.swing.JButton" name="browseJarButton">
149
    <Component class="javax.swing.JButton" name="browseJarButton">
150
      <Properties>
150
      <Properties>
151
        <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
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.browse" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
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>
153
        </Property>
154
        <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">
155
          <ResourceString bundle="org/netbeans/beaninfo/editors/Bundle.properties" key="CTL_FileSystemPanel.browse" replaceFormat="java.util.ResourceBundle.getBundle(&quot;{bundleNameSlashes}&quot;).getString(&quot;{key}&quot;)"/>
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;)"/>
156
        </Property>
156
        </Property>
157
        <Property name="enabled" type="boolean" value="false"/>
157
        <Property name="enabled" type="boolean" value="false"/>
158
      </Properties>
158
      </Properties>
(-)core/src/org/netbeans/beaninfo/editors/Bundle.properties (-3 / +5 lines)
Lines 188-196 Link Here
188
LAB_FileSystemPanel.jarLabel.text=JAR File:
188
LAB_FileSystemPanel.jarLabel.text=JAR File:
189
LAB_FileSystemPanel.jarLabel.text_Mnemonic=F
189
LAB_FileSystemPanel.jarLabel.text_Mnemonic=F
190
LAB_FileSystemPanel.jarPathLabel.text=Not Used
190
LAB_FileSystemPanel.jarPathLabel.text=Not Used
191
CTL_FileSystemPanel.browse=Browse...
191
CTL_FileSystemPanel.browseDirButton.text=Browse...
192
CTL_FileSystemPanel.browse1_Mnemonic=B
192
CTL_FileSystemPanel.browseDirButton.text_Mnemonic=B
193
CTL_FileSystemPanel.browse2_Mnemonic=R
193
CTL_FileSystemPanel.browseJarButton.text=Browse...
194
CTL_FileSystemPanel.browseJarButton.text_Mnemonic=R
195
CTL_FileSystemPanel.browseJarButton.hint=Browse...
194
CTL_FileSystemPanel.otherRadioButton.text=Add (other file system type)
196
CTL_FileSystemPanel.otherRadioButton.text=Add (other file system type)
195
CTL_FileSystemPanel.otherRadioButton.text_Mnemonic=O
197
CTL_FileSystemPanel.otherRadioButton.text_Mnemonic=O
196
LAB_FileSystemPanel.createLabel.text=Type:
198
LAB_FileSystemPanel.createLabel.text=Type:
(-)core/src/org/netbeans/beaninfo/editors/FileSystemPanel.java (-5 / +5 lines)
Lines 155-161 Link Here
155
        gridBagConstraints1.weightx = 1.0;
155
        gridBagConstraints1.weightx = 1.0;
156
        add(dirTextField, gridBagConstraints1);
156
        add(dirTextField, gridBagConstraints1);
157
        
157
        
158
        browseDirButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browse"));
158
        browseDirButton.setText(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);
Lines 208-215 Link Here
208
        gridBagConstraints1.weightx = 1.0;
208
        gridBagConstraints1.weightx = 1.0;
209
        add(jarTextField, gridBagConstraints1);
209
        add(jarTextField, gridBagConstraints1);
210
        
210
        
211
        browseJarButton.setToolTipText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browse"));
211
        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.browse"));
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) {
Lines 565-572 Link Here
565
        dirLabel.setDisplayedMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_FileSystemPanel.dirLabel.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));
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));
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.browse1_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.browse2_Mnemonic").charAt (0));
569
        browseJarButton.setMnemonic (java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_FileSystemPanel.browseJarButton.text_Mnemonic").charAt (0));
570
        
570
        
571
        group.add(originalRadioButton);
571
        group.add(originalRadioButton);
572
        group.add(dirRadioButton);
572
        group.add(dirRadioButton);

Return to bug 31378