Index: src/org/netbeans/beaninfo/editors/DataFolderPanel.java =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/DataFolderPanel.java,v retrieving revision 1.21 diff -u -r1.21 DataFolderPanel.java --- src/org/netbeans/beaninfo/editors/DataFolderPanel.java 28 Feb 2003 18:17:33 -0000 1.21 +++ src/org/netbeans/beaninfo/editors/DataFolderPanel.java 3 Mar 2003 17:01:48 -0000 @@ -38,6 +38,7 @@ import org.openide.util.HelpCtx; import org.openide.util.enum.*; import org.openide.windows.TopComponent; +import org.openide.util.NbBundle; /** * A panel for selecting an existing data folder. @@ -112,6 +113,12 @@ directoryName.getAccessibleContext().setAccessibleDescription(getString("ACSD_directory")); createButton.getAccessibleContext().setAccessibleDescription(getString("ACSD_Create")); getAccessibleContext().setAccessibleDescription(getString("ACSD_DataFolderPanel")); + + dirLabel.setText(NbBundle.getMessage(DataFolderPanel.class, "LAB_directory")); //NOI18N + createButton.setText(NbBundle.getMessage (DataFolderPanel.class, "CTL_Create")); //NOI18N + dirLabel.setText(NbBundle.getMessage (DataFolderPanel.class, "LAB_directory")); //NOI18N + packageLabel.setText(NbBundle.getMessage (DataFolderPanel.class, "LAB_package")); //NOI18N + descriptionLabel.setText(NbBundle.getMessage (DataFolderPanel.class, "LAB_TargetLocationDescription")); //NOI18N } /** Preffered size */ @@ -167,7 +174,6 @@ packagesPanel.add(beanTreeView, gridBagConstraints); descriptionLabel.setLabelFor(beanTreeView); - descriptionLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_TargetLocationDescription")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 0; @@ -177,7 +183,6 @@ packagesPanel.add(descriptionLabel, gridBagConstraints); packageLabel.setLabelFor(packageName); - packageLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_package")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; @@ -194,7 +199,6 @@ gridBagConstraints.insets = new java.awt.Insets(0, 0, 5, 5); packagesPanel.add(packageName, gridBagConstraints); - dirLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("LAB_directory")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; @@ -210,7 +214,6 @@ gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL; packagesPanel.add(directoryName, gridBagConstraints); - createButton.setText(java.util.ResourceBundle.getBundle("org/netbeans/beaninfo/editors/Bundle").getString("CTL_Create")); createButton.setEnabled(false); createButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { Index: src/org/netbeans/beaninfo/editors/DataFolderPanel.form =================================================================== RCS file: /cvs/core/src/org/netbeans/beaninfo/editors/DataFolderPanel.form,v retrieving revision 1.5 diff -u -r1.5 DataFolderPanel.form --- src/org/netbeans/beaninfo/editors/DataFolderPanel.form 4 Dec 2002 08:50:21 -0000 1.5 +++ src/org/netbeans/beaninfo/editors/DataFolderPanel.form 3 Mar 2003 17:01:48 -0000 @@ -30,9 +30,6 @@ - - - @@ -45,9 +42,6 @@ - - - @@ -63,11 +57,6 @@ - - - - - @@ -86,9 +75,6 @@ - - -