Index: apisupport/lite/src/org/netbeans/modules/apisupport/lite/Bundle.properties =================================================================== RCS file: /shared/data/helm/cvs/repository/apisupport/lite/src/org/netbeans/modules/apisupport/lite/Bundle.properties,v retrieving revision 1.1 diff -u -r1.1 Bundle.properties --- apisupport/lite/src/org/netbeans/modules/apisupport/lite/Bundle.properties 7 Feb 2003 19:17:08 -0000 1.1 +++ apisupport/lite/src/org/netbeans/modules/apisupport/lite/Bundle.properties 22 Feb 2003 21:27:54 -0000 @@ -21,13 +21,10 @@ # Module Panel LAB_Module=Select module name and location -LBL_Module=Module Display Name: -LBL_Module_Mnemonic=N +LBL_Module=Module Display &Name: DESC_Module=Provide the module name and select the filesystem (not default) and the package to place the module into. To create new (sub)package you should write its name directly into Package Name field. -LBL_SelectPackage=Select Package: -LBL_SelectPackage_Mnemonic=S -LBL_Package=Package Name: -LBL_Package_Mnemonic=P +LBL_SelectPackage=&Select Package: +LBL_Package=&Package Name: DESC_Package=Select package/directory for your module location. LBL_Directory=Directory: ACS_SelectPackage=N/A @@ -39,16 +36,13 @@ LAB_Selection=Module Features TXT_Selection=In this panel you can check what type of module you will need to create. LBL_Need=Required Module Features: -CBX_File=\ Work With New File Type -CBX_File_Mnemonic=W +CBX_File=\ &Work With New File Type DESC_SelFile=If you check this item, you can specify any special file types you need to \ recognize in your module. -CBX_Menu=\ Add New Menu and Toolbar Items -CBX_Menu_Mnemonic=A +CBX_Menu=\ &Add New Menu and Toolbar Items DESC_SelMenu=If you need to add a new action (represented by the new menu item, toolbar item, or keyboard shortcut),\ check this item. -CBX_Templates=\ Add New Templates -CBX_Templates_Mnemonic=T +CBX_Templates=\ Add New &Templates DESC_SelTemplates=If you need to add a new template,\ check this item. ACS_newMenuToolbarItemCheckBox=N/A @@ -58,48 +52,33 @@ # Loader Panel LAB_Loader=File Type Selection TXT_Loader=Specify the extensions (separated by space or comma) of the file types that the module is required to work with. -LAB_Extensions=Extensions: -LAB_Extensions_Mnemonic=E +LAB_Extensions=&Extensions: DESC_Loader=There you can type one or more file extensions for files you need to \ recognize in your module. ACS_extensionsTextField=N/A # Menu Panel LAB_Menu=Add new menu or toolbar item -LBL_ItemName=Menu Item Name: -LBL_ItemName_Mnemonic=M +LBL_ItemName=&Menu Item Name: DESC_Menu=Add menu and toolbar items. Select existing menu item to get placement for the new one. -LBL_MenuPlace=Item Placement: -LBL_MenuPlace_Mnemonic=P -CBX_BeforeMenu=\ Before Selected Item -CBX_BeforeMenu_Mnemonic=e -CBX_AfterMenu=\ After Selected Item -CBX_AfterMenu_Mnemonic=c -CBX_SepBefore=\ Separator Before -CBX_SepBefore_Mnemonic=F -CBX_SepAfter=\ Separator After -CBX_SepAfter_Mnemonic=A +LBL_MenuPlace=Item &Placement: +CBX_BeforeMenu=\ B&efore Selected Item +CBX_AfterMenu=\ After Sele&cted Item +CBX_SepBefore=\ Separator Be&fore +CBX_SepAfter=\ Separator &After CBX_Tool=Create Toolbar Item: DESC_Tool=If you need to launch your action with a toolbar item, check Create Toolbar Item and specify \ placement. -LBL_ToolPlace=Item Placement: -LBL_ToolPlace_Mnemonic=T -CBX_BeforeToolbar=\ Before Selected Item -CBX_BeforeToolbar_Mnemonic=S -LBL_Icon=Icon Location: -LBL_Icon_Mnemonic=L +LBL_ToolPlace=I&tem Placement: +CBX_BeforeToolbar=\ Before &Selected Item +LBL_Icon=Icon &Location: DESC_Icon=Select the icon file. If you don't select an icon, the default will be used. -LBL_Shortcut=Keyboard Shortcut: -LBL_Shortcut_Mnemonic=K -BTN_ChangeSC=Grab -BTN_ChangeSC_Mnemonic=G -BTN_RemoveSC=Remove -BTN_RemoveSC_Mnemonic=R +LBL_Shortcut=&Keyboard Shortcut: +BTN_ChangeSC=&Grab +BTN_RemoveSC=&Remove DESC_Shortcut=Press the keyboard shortcut you want to associate with the menu action. -LBL_Tool_Yes=\ Yes -LBL_Tool_Yes_Mnemonic=Y -LBL_Tool_No=\ No -LBL_Tool_No_Mnemonic=N +LBL_Tool_Yes=\ &Yes +LBL_Tool_No=\ &No TXT_GIF=GIF File ACS_nameTextField=N/A ACS_separatorBeforeMenuItemCheckBox=N/A @@ -123,12 +102,9 @@ TXT_Manifest=Fill in the version number, short description, and category for the Module. \n\ Then click Finish to create the new module skeleton. -LBL_Version=Module Version: -LBL_Version_Mnemonic=V -LBL_ModuleDescription=Module Description: -LBL_ModuleDescription_Mnemonic=D -LBL_Category=Module Category: -LBL_Category_Mnemonic=C +LBL_Version=Module &Version: +LBL_ModuleDescription=Module &Description: +LBL_Category=Module &Category: ACS_groupComboBox=N/A ACS_versionTextField=N/A ACS_descriptionTextArea=N/A @@ -149,12 +125,9 @@ LAB_Templates=Add new template TXT_Templates=In this panel you can specify own template. You shoud set Template menu name, default name of file (created from this template) and file location. Also you can change default name of template group. Template will be then accessible via menu New -> [Group Name]. -LBL_Templ_Name=Template Name: -LBL_Templ_Name_Mnem=e -LBL_Templ_Group=Template Group: -LBL_Templ_Group_Mnem=G -LBL_Templ_Default=Default File Name: -LBL_Templ_Default_Mnem=D +LBL_Templ_Name=T&emplate Name: +LBL_Templ_Group=Template &Group: +LBL_Templ_Default=&Default File Name: LBL_Templ_Location=Template Location: ACS_locButton=N/A ACS_groupTextField=N/A Index: apisupport/lite/src/org/netbeans/modules/apisupport/lite/LoaderPanel.form =================================================================== RCS file: /shared/data/helm/cvs/repository/apisupport/lite/src/org/netbeans/modules/apisupport/lite/LoaderPanel.form,v retrieving revision 1.1 diff -u -r1.1 LoaderPanel.form --- apisupport/lite/src/org/netbeans/modules/apisupport/lite/LoaderPanel.form 7 Feb 2003 19:17:10 -0000 1.1 +++ apisupport/lite/src/org/netbeans/modules/apisupport/lite/LoaderPanel.form 22 Feb 2003 21:27:54 -0000 @@ -9,15 +9,15 @@ - - + + Index: apisupport/lite/src/org/netbeans/modules/apisupport/lite/LoaderPanel.java =================================================================== RCS file: /shared/data/helm/cvs/repository/apisupport/lite/src/org/netbeans/modules/apisupport/lite/LoaderPanel.java,v retrieving revision 1.1 diff -u -r1.1 LoaderPanel.java --- apisupport/lite/src/org/netbeans/modules/apisupport/lite/LoaderPanel.java 7 Feb 2003 19:17:11 -0000 1.1 +++ apisupport/lite/src/org/netbeans/modules/apisupport/lite/LoaderPanel.java 22 Feb 2003 21:27:56 -0000 @@ -33,8 +33,6 @@ initAccessibility(); setPreferredSize(new java.awt.Dimension(500, 400)); - extensionsLabel.setDisplayedMnemonic(getBundle("LAB_Extensions_Mnemonic").charAt(0)); - this.validator = validator; checkValid(); @@ -55,11 +53,11 @@ setLayout(new java.awt.GridBagLayout()); - descriptionTextArea.setWrapStyleWord(true); - descriptionTextArea.setLineWrap(true); descriptionTextArea.setEditable(false); descriptionTextArea.setFont(extensionsLabel.getFont()); + descriptionTextArea.setLineWrap(true); descriptionTextArea.setText(getBundle("TXT_Loader")); + descriptionTextArea.setWrapStyleWord(true); descriptionTextArea.setDisabledTextColor(extensionsLabel.getForeground()); descriptionTextArea.setEnabled(false); descriptionTextArea.setOpaque(false); @@ -72,7 +70,7 @@ add(descriptionTextArea, gridBagConstraints); extensionsLabel.setLabelFor(extensionsTextField); - extensionsLabel.setText(getBundle("LAB_Extensions")); + org.openide.awt.Mnemonics.setLocalizedText(extensionsLabel,getBundle("LAB_Extensions")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; @@ -130,12 +128,12 @@ }//GEN-LAST:event_extensionsTextFieldActionPerformed - // Variables declaration - do not modify//GEN-BEGIN:variables + // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables private javax.swing.JLabel extensionsLabel; + private javax.swing.JTextArea descriptionTextArea; private javax.swing.JTextField extensionsTextField; private javax.swing.JPanel jPanel1; - private javax.swing.JTextArea descriptionTextArea; - // End of variables declaration//GEN-END:variables + // ????? ?????????? ??????????//GEN-END:variables /** Getter for property extensions. * @return Value of property extensions. Index: apisupport/lite/src/org/netbeans/modules/apisupport/lite/ManifestPanel.form =================================================================== RCS file: /shared/data/helm/cvs/repository/apisupport/lite/src/org/netbeans/modules/apisupport/lite/ManifestPanel.form,v retrieving revision 1.1 diff -u -r1.1 ManifestPanel.form --- apisupport/lite/src/org/netbeans/modules/apisupport/lite/ManifestPanel.form 7 Feb 2003 19:17:11 -0000 1.1 +++ apisupport/lite/src/org/netbeans/modules/apisupport/lite/ManifestPanel.form 22 Feb 2003 21:27:57 -0000 @@ -58,8 +58,8 @@ - + @@ -94,15 +94,15 @@ - - + + Index: apisupport/lite/src/org/netbeans/modules/apisupport/lite/ManifestPanel.java =================================================================== RCS file: /shared/data/helm/cvs/repository/apisupport/lite/src/org/netbeans/modules/apisupport/lite/ManifestPanel.java,v retrieving revision 1.1 diff -u -r1.1 ManifestPanel.java --- apisupport/lite/src/org/netbeans/modules/apisupport/lite/ManifestPanel.java 7 Feb 2003 19:17:11 -0000 1.1 +++ apisupport/lite/src/org/netbeans/modules/apisupport/lite/ManifestPanel.java 22 Feb 2003 21:27:58 -0000 @@ -36,10 +36,6 @@ initAccessibility(); setPreferredSize(new java.awt.Dimension(500, 400)); - versionLabel.setDisplayedMnemonic(getBundle("LBL_Version_Mnemonic").charAt(0)); - descriptionLabel.setDisplayedMnemonic(getBundle("LBL_ModuleDescription_Mnemonic").charAt(0)); - groupLabel.setDisplayedMnemonic(getBundle("LBL_Category_Mnemonic").charAt(0)); - this.validator = validator; fillCategories(); @@ -68,7 +64,7 @@ setLayout(new java.awt.GridBagLayout()); versionLabel.setLabelFor(versionTextField); - versionLabel.setText(java.util.ResourceBundle.getBundle("org/netbeans/modules/apisupport/lite/Bundle").getString("LBL_Version")); + org.openide.awt.Mnemonics.setLocalizedText(versionLabel,java.util.ResourceBundle.getBundle("org/netbeans/modules/apisupport/lite/Bundle").getString("LBL_Version")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridy = 1; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; @@ -84,7 +80,7 @@ add(versionTextField, gridBagConstraints); descriptionLabel.setLabelFor(descriptionTextArea); - descriptionLabel.setText(getBundle("LBL_ModuleDescription")); + org.openide.awt.Mnemonics.setLocalizedText(descriptionLabel,getBundle("LBL_ModuleDescription")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; @@ -92,8 +88,8 @@ gridBagConstraints.insets = new java.awt.Insets(11, 0, 0, 0); add(descriptionLabel, gridBagConstraints); - descriptionTextArea.setWrapStyleWord(true); descriptionTextArea.setLineWrap(true); + descriptionTextArea.setWrapStyleWord(true); descriptionScrollPane.setViewportView(descriptionTextArea); gridBagConstraints = new java.awt.GridBagConstraints(); @@ -106,7 +102,7 @@ add(descriptionScrollPane, gridBagConstraints); groupLabel.setLabelFor(groupComboBox); - groupLabel.setText(getBundle("LBL_Category")); + org.openide.awt.Mnemonics.setLocalizedText(groupLabel,getBundle("LBL_Category")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; @@ -124,12 +120,11 @@ gridBagConstraints.insets = new java.awt.Insets(11, 11, 0, 0); add(groupComboBox, gridBagConstraints); - commentTextArea.setWrapStyleWord(true); - commentTextArea.setLineWrap(true); commentTextArea.setEditable(false); commentTextArea.setFont(versionLabel.getFont()); + commentTextArea.setLineWrap(true); commentTextArea.setText(getBundle("TXT_Manifest")); - commentTextArea.setDisabledTextColor(getForeground()); + commentTextArea.setWrapStyleWord(true); commentTextArea.setEnabled(false); commentTextArea.setOpaque(false); gridBagConstraints = new java.awt.GridBagConstraints(); @@ -151,17 +146,17 @@ }//GEN-END:initComponents - // Variables declaration - do not modify//GEN-BEGIN:variables + // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables private javax.swing.JTextArea commentTextArea; - private javax.swing.JComboBox groupComboBox; - private javax.swing.JLabel groupLabel; - private javax.swing.JScrollPane descriptionScrollPane; private javax.swing.JLabel versionLabel; + private javax.swing.JTextArea descriptionTextArea; + private javax.swing.JComboBox groupComboBox; + private javax.swing.JTextField versionTextField; private javax.swing.JLabel descriptionLabel; + private javax.swing.JScrollPane descriptionScrollPane; private javax.swing.JPanel jPanel1; - private javax.swing.JTextField versionTextField; - private javax.swing.JTextArea descriptionTextArea; - // End of variables declaration//GEN-END:variables + private javax.swing.JLabel groupLabel; + // ????? ?????????? ??????????//GEN-END:variables /** Getter for property version. * @return Value of property version. Index: apisupport/lite/src/org/netbeans/modules/apisupport/lite/MenuPanel.form =================================================================== RCS file: /shared/data/helm/cvs/repository/apisupport/lite/src/org/netbeans/modules/apisupport/lite/MenuPanel.form,v retrieving revision 1.1 diff -u -r1.1 MenuPanel.form --- apisupport/lite/src/org/netbeans/modules/apisupport/lite/MenuPanel.form 7 Feb 2003 19:17:13 -0000 1.1 +++ apisupport/lite/src/org/netbeans/modules/apisupport/lite/MenuPanel.form 22 Feb 2003 21:28:01 -0000 @@ -20,15 +20,15 @@ - - + + @@ -100,9 +100,6 @@ - - - @@ -118,9 +115,6 @@ - - - @@ -137,9 +131,6 @@ - - - @@ -152,9 +143,6 @@ - - - @@ -190,9 +178,6 @@ - - - @@ -206,9 +191,6 @@ - - - @@ -255,9 +237,6 @@ - - - @@ -350,9 +329,6 @@ - - - @@ -368,9 +344,6 @@ - - - Index: apisupport/lite/src/org/netbeans/modules/apisupport/lite/MenuPanel.java =================================================================== RCS file: /shared/data/helm/cvs/repository/apisupport/lite/src/org/netbeans/modules/apisupport/lite/MenuPanel.java,v retrieving revision 1.1 diff -u -r1.1 MenuPanel.java --- apisupport/lite/src/org/netbeans/modules/apisupport/lite/MenuPanel.java 7 Feb 2003 19:17:13 -0000 1.1 +++ apisupport/lite/src/org/netbeans/modules/apisupport/lite/MenuPanel.java 22 Feb 2003 21:28:06 -0000 @@ -86,12 +86,6 @@ initAccessibility(); setPreferredSize(new java.awt.Dimension(500, 400)); - nameLabel.setDisplayedMnemonic(getBundle("LBL_ItemName_Mnemonic").charAt(0)); - menuItemLabel.setDisplayedMnemonic(getBundle("LBL_MenuPlace_Mnemonic").charAt(0)); - toolbarItemLabel.setDisplayedMnemonic(getBundle("LBL_ToolPlace_Mnemonic").charAt(0)); - iconLabel.setDisplayedMnemonic(getBundle("LBL_Icon_Mnemonic").charAt(0)); - shortcutLabel.setDisplayedMnemonic(getBundle("LBL_Shortcut_Mnemonic").charAt(0)); - this.validator = validator; BeanTreeView btvm; @@ -323,11 +317,11 @@ setLayout(new java.awt.GridBagLayout()); setPreferredSize(new java.awt.Dimension(500, 400)); - descriptionTextArea.setWrapStyleWord(true); - descriptionTextArea.setLineWrap(true); descriptionTextArea.setEditable(false); descriptionTextArea.setFont(nameLabel.getFont()); + descriptionTextArea.setLineWrap(true); descriptionTextArea.setText(getBundle("DESC_Menu")); + descriptionTextArea.setWrapStyleWord(true); descriptionTextArea.setDisabledTextColor(nameLabel.getForeground()); descriptionTextArea.setEnabled(false); descriptionTextArea.setOpaque(false); @@ -340,7 +334,7 @@ add(descriptionTextArea, gridBagConstraints); nameLabel.setLabelFor(nameTextField); - nameLabel.setText(getBundle("LBL_ItemName")); + org.openide.awt.Mnemonics.setLocalizedText(nameLabel,getBundle("LBL_ItemName")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; @@ -375,7 +369,7 @@ gridBagConstraints.insets = new java.awt.Insets(11, 11, 0, 0); add(nameTextField, gridBagConstraints); - menuItemLabel.setText(getBundle("LBL_MenuPlace")); + org.openide.awt.Mnemonics.setLocalizedText(menuItemLabel,getBundle("LBL_MenuPlace")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; @@ -394,16 +388,14 @@ menuItemPanel.setLayout(new java.awt.GridBagLayout()); - beforeMenuItemRadioButton.setMnemonic(getBundle("CBX_BeforeMenu_Mnemonic").charAt(0)); - beforeMenuItemRadioButton.setText(getBundle("CBX_BeforeMenu")); + org.openide.awt.Mnemonics.setLocalizedText(beforeMenuItemRadioButton,getBundle("CBX_BeforeMenu")); menuItemButtonGroup.add(beforeMenuItemRadioButton); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; menuItemPanel.add(beforeMenuItemRadioButton, gridBagConstraints); - afterMenuItemRadioButton.setMnemonic(getBundle("CBX_AfterMenu_Mnemonic").charAt(0)); afterMenuItemRadioButton.setSelected(true); - afterMenuItemRadioButton.setText(getBundle("CBX_AfterMenu")); + org.openide.awt.Mnemonics.setLocalizedText(afterMenuItemRadioButton,getBundle("CBX_AfterMenu")); menuItemButtonGroup.add(afterMenuItemRadioButton); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; @@ -411,8 +403,7 @@ gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; menuItemPanel.add(afterMenuItemRadioButton, gridBagConstraints); - separatorBeforeMenuItemCheckBox.setMnemonic(getBundle("CBX_SepBefore_Mnemonic").charAt(0)); - separatorBeforeMenuItemCheckBox.setText(getBundle("CBX_SepBefore")); + org.openide.awt.Mnemonics.setLocalizedText(separatorBeforeMenuItemCheckBox,getBundle("CBX_SepBefore")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; @@ -420,8 +411,7 @@ gridBagConstraints.insets = new java.awt.Insets(11, 0, 0, 0); menuItemPanel.add(separatorBeforeMenuItemCheckBox, gridBagConstraints); - separatorAfterMenuItemCheckBox.setMnemonic(getBundle("CBX_SepAfter_Mnemonic").charAt(0)); - separatorAfterMenuItemCheckBox.setText(getBundle("CBX_SepAfter")); + org.openide.awt.Mnemonics.setLocalizedText(separatorAfterMenuItemCheckBox,getBundle("CBX_SepAfter")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 4; @@ -436,7 +426,7 @@ gridBagConstraints.insets = new java.awt.Insets(11, 11, 0, 0); add(menuItemPanel, gridBagConstraints); - createToolbarLabel.setText(getBundle("CBX_Tool")); + org.openide.awt.Mnemonics.setLocalizedText(createToolbarLabel,getBundle("CBX_Tool")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; @@ -444,8 +434,7 @@ gridBagConstraints.insets = new java.awt.Insets(11, 0, 0, 0); add(createToolbarLabel, gridBagConstraints); - yesCreateToolbarRadioButton.setMnemonic(getBundle("LBL_Tool_Yes_Mnemonic").charAt(0)); - yesCreateToolbarRadioButton.setText(getBundle("LBL_Tool_Yes")); + org.openide.awt.Mnemonics.setLocalizedText(yesCreateToolbarRadioButton,getBundle("LBL_Tool_Yes")); createToolbarButtonGroup.add(yesCreateToolbarRadioButton); yesCreateToolbarRadioButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { @@ -455,9 +444,8 @@ createToolbarPanel.add(yesCreateToolbarRadioButton); - noCreateToolbarRadioButton.setMnemonic(getBundle("LBL_Tool_No_Mnemonic").charAt(0)); noCreateToolbarRadioButton.setSelected(true); - noCreateToolbarRadioButton.setText(getBundle("LBL_Tool_No")); + org.openide.awt.Mnemonics.setLocalizedText(noCreateToolbarRadioButton,getBundle("LBL_Tool_No")); createToolbarButtonGroup.add(noCreateToolbarRadioButton); noCreateToolbarRadioButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { @@ -476,7 +464,7 @@ gridBagConstraints.insets = new java.awt.Insets(11, 11, 0, 0); add(createToolbarPanel, gridBagConstraints); - toolbarItemLabel.setText(getBundle("LBL_ToolPlace")); + org.openide.awt.Mnemonics.setLocalizedText(toolbarItemLabel,getBundle("LBL_ToolPlace")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 4; @@ -496,8 +484,7 @@ toolbarItemPanel.setLayout(new java.awt.GridBagLayout()); - beforeToolbarItemCheckBox.setMnemonic(getBundle("CBX_BeforeToolbar_Mnemonic").charAt(0)); - beforeToolbarItemCheckBox.setText(getBundle("CBX_BeforeToolbar")); + org.openide.awt.Mnemonics.setLocalizedText(beforeToolbarItemCheckBox,getBundle("CBX_BeforeToolbar")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; toolbarItemPanel.add(beforeToolbarItemCheckBox, gridBagConstraints); @@ -511,7 +498,7 @@ add(toolbarItemPanel, gridBagConstraints); iconLabel.setLabelFor(iconTextField); - iconLabel.setText(getBundle("LBL_Icon")); + org.openide.awt.Mnemonics.setLocalizedText(iconLabel,getBundle("LBL_Icon")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 5; @@ -534,7 +521,7 @@ gridBagConstraints.insets = new java.awt.Insets(11, 11, 0, 0); add(iconTextField, gridBagConstraints); - iconButton.setText("..."); + org.openide.awt.Mnemonics.setLocalizedText(iconButton,"..."); iconButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { iconButtonActionPerformed(evt); @@ -549,7 +536,7 @@ add(iconButton, gridBagConstraints); shortcutLabel.setLabelFor(shortcutTextField); - shortcutLabel.setText(getBundle("LBL_Shortcut")); + org.openide.awt.Mnemonics.setLocalizedText(shortcutLabel,getBundle("LBL_Shortcut")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 6; @@ -574,8 +561,7 @@ jPanel1.setLayout(new java.awt.GridBagLayout()); - grabButton.setMnemonic(getBundle("BTN_ChangeSC_Mnemonic").charAt(0)); - grabButton.setText(getBundle("BTN_ChangeSC")); + org.openide.awt.Mnemonics.setLocalizedText(grabButton,getBundle("BTN_ChangeSC")); grabButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { grabButtonActionPerformed(evt); @@ -588,8 +574,7 @@ gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; jPanel1.add(grabButton, gridBagConstraints); - removeButton.setMnemonic(getBundle("BTN_RemoveSC_Mnemonic").charAt(0)); - removeButton.setText(getBundle("BTN_RemoveSC")); + org.openide.awt.Mnemonics.setLocalizedText(removeButton,getBundle("BTN_RemoveSC")); removeButton.setEnabled(false); removeButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { @@ -687,36 +672,36 @@ }//GEN-LAST:event_iconButtonActionPerformed - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JLabel nameLabel; - private javax.swing.JScrollPane toolbarItemScrollPane; - private javax.swing.JLabel toolbarItemLabel; - private javax.swing.JCheckBox separatorBeforeMenuItemCheckBox; - private javax.swing.JRadioButton yesCreateToolbarRadioButton; - private javax.swing.JRadioButton afterMenuItemRadioButton; - private javax.swing.JRadioButton beforeMenuItemRadioButton; + // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables + private javax.swing.JLabel createToolbarLabel; + private javax.swing.JTextArea descriptionTextArea; private javax.swing.ButtonGroup menuItemButtonGroup; + private javax.swing.JCheckBox separatorAfterMenuItemCheckBox; + private javax.swing.JLabel nameLabel; private javax.swing.JLabel shortcutLabel; - private javax.swing.JTextField shortcutTextField; - private javax.swing.JButton iconButton; - private javax.swing.JButton grabButton; private javax.swing.JLabel iconLabel; - private javax.swing.JRadioButton noCreateToolbarRadioButton; - private javax.swing.JPanel createToolbarPanel; - private javax.swing.JCheckBox beforeToolbarItemCheckBox; + private javax.swing.JLabel menuItemLabel; + private javax.swing.JButton iconButton; private javax.swing.JPanel menuItemPanel; + private javax.swing.JCheckBox beforeToolbarItemCheckBox; + private javax.swing.JRadioButton afterMenuItemRadioButton; + private javax.swing.JPanel createToolbarPanel; + private javax.swing.JCheckBox separatorBeforeMenuItemCheckBox; + private javax.swing.ButtonGroup createToolbarButtonGroup; + private javax.swing.JButton grabButton; + private javax.swing.JLabel toolbarItemLabel; + private javax.swing.JRadioButton yesCreateToolbarRadioButton; + private javax.swing.JPanel jPanel1; + private javax.swing.JTextField shortcutTextField; + private javax.swing.JPanel toolbarItemPanel; private javax.swing.JScrollPane menuItemScrollPane; - private javax.swing.JCheckBox separatorAfterMenuItemCheckBox; private javax.swing.JTextField iconTextField; - private javax.swing.JPanel toolbarItemPanel; - private javax.swing.JPanel jPanel1; private javax.swing.JTextField nameTextField; - private javax.swing.JTextArea descriptionTextArea; - private javax.swing.JLabel createToolbarLabel; + private javax.swing.JScrollPane toolbarItemScrollPane; + private javax.swing.JRadioButton noCreateToolbarRadioButton; private javax.swing.JButton removeButton; - private javax.swing.JLabel menuItemLabel; - private javax.swing.ButtonGroup createToolbarButtonGroup; - // End of variables declaration//GEN-END:variables + private javax.swing.JRadioButton beforeMenuItemRadioButton; + // ????? ?????????? ??????????//GEN-END:variables /** Getter for property menuName. * @return Value of property menuName. Index: apisupport/lite/src/org/netbeans/modules/apisupport/lite/ModulePanel.form =================================================================== RCS file: /shared/data/helm/cvs/repository/apisupport/lite/src/org/netbeans/modules/apisupport/lite/ModulePanel.form,v retrieving revision 1.1 diff -u -r1.1 ModulePanel.form --- apisupport/lite/src/org/netbeans/modules/apisupport/lite/ModulePanel.form 7 Feb 2003 19:17:14 -0000 1.1 +++ apisupport/lite/src/org/netbeans/modules/apisupport/lite/ModulePanel.form 22 Feb 2003 21:28:07 -0000 @@ -9,15 +9,15 @@ - - + + Index: apisupport/lite/src/org/netbeans/modules/apisupport/lite/ModulePanel.java =================================================================== RCS file: /shared/data/helm/cvs/repository/apisupport/lite/src/org/netbeans/modules/apisupport/lite/ModulePanel.java,v retrieving revision 1.1 diff -u -r1.1 ModulePanel.java --- apisupport/lite/src/org/netbeans/modules/apisupport/lite/ModulePanel.java 7 Feb 2003 19:17:14 -0000 1.1 +++ apisupport/lite/src/org/netbeans/modules/apisupport/lite/ModulePanel.java 22 Feb 2003 21:28:09 -0000 @@ -54,10 +54,6 @@ initAccessibility(); setPreferredSize(new java.awt.Dimension(500, 400)); - nameLabel.setDisplayedMnemonic(getBundle("LBL_Module_Mnemonic").charAt(0)); - packageListLabel.setDisplayedMnemonic(getBundle("LBL_SelectPackage_Mnemonic").charAt(0)); - packageLabel.setDisplayedMnemonic(getBundle("LBL_Package_Mnemonic").charAt(0)); - this.validator = validator; if (System.getProperty ("file.separator") != null) @@ -167,11 +163,11 @@ setLayout(new java.awt.GridBagLayout()); - descriptionTextArea.setWrapStyleWord(true); - descriptionTextArea.setLineWrap(true); descriptionTextArea.setEditable(false); descriptionTextArea.setFont(nameLabel.getFont()); + descriptionTextArea.setLineWrap(true); descriptionTextArea.setText(getBundle("DESC_Module")); + descriptionTextArea.setWrapStyleWord(true); descriptionTextArea.setDisabledTextColor(nameLabel.getForeground()); descriptionTextArea.setEnabled(false); descriptionTextArea.setOpaque(false); @@ -183,7 +179,7 @@ add(descriptionTextArea, gridBagConstraints); nameLabel.setLabelFor(nameTextField); - nameLabel.setText(getBundle("LBL_Module")); + org.openide.awt.Mnemonics.setLocalizedText(nameLabel,getBundle("LBL_Module")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; @@ -214,7 +210,7 @@ gridBagConstraints.insets = new java.awt.Insets(11, 11, 0, 0); add(nameTextField, gridBagConstraints); - packageListLabel.setText(getBundle("LBL_SelectPackage")); + org.openide.awt.Mnemonics.setLocalizedText(packageListLabel,getBundle("LBL_SelectPackage")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; @@ -223,7 +219,7 @@ add(packageListLabel, gridBagConstraints); packageLabel.setLabelFor(packageTextField); - packageLabel.setText(getBundle("LBL_Package")); + org.openide.awt.Mnemonics.setLocalizedText(packageLabel,getBundle("LBL_Package")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; @@ -261,7 +257,7 @@ add(packageTextField, gridBagConstraints); directoryLabel.setLabelFor(directoryTextField); - directoryLabel.setText(getBundle("LBL_Directory")); + org.openide.awt.Mnemonics.setLocalizedText(directoryLabel,getBundle("LBL_Directory")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 4; @@ -349,16 +345,16 @@ return packageTextField.getText(); } - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JLabel nameLabel; + // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables private javax.swing.JLabel packageLabel; - private javax.swing.JTextField directoryTextField; private javax.swing.JLabel directoryLabel; - private javax.swing.JLabel packageListLabel; - private javax.swing.JTextField nameTextField; private javax.swing.JTextArea descriptionTextArea; + private javax.swing.JTextField directoryTextField; + private javax.swing.JLabel nameLabel; + private javax.swing.JLabel packageListLabel; private javax.swing.JTextField packageTextField; - // End of variables declaration//GEN-END:variables + private javax.swing.JTextField nameTextField; + // ????? ?????????? ??????????//GEN-END:variables private static String getBundle( String key ) { return NbBundle.getMessage( ModulePanel.class, key ); Index: apisupport/lite/src/org/netbeans/modules/apisupport/lite/SelectionPanel.form =================================================================== RCS file: /shared/data/helm/cvs/repository/apisupport/lite/src/org/netbeans/modules/apisupport/lite/SelectionPanel.form,v retrieving revision 1.1 diff -u -r1.1 SelectionPanel.form --- apisupport/lite/src/org/netbeans/modules/apisupport/lite/SelectionPanel.form 7 Feb 2003 19:17:15 -0000 1.1 +++ apisupport/lite/src/org/netbeans/modules/apisupport/lite/SelectionPanel.form 22 Feb 2003 21:28:10 -0000 @@ -9,15 +9,15 @@ - - + + @@ -44,9 +44,6 @@ - - - @@ -59,9 +56,6 @@ - - - @@ -74,9 +68,6 @@ - - - Index: apisupport/lite/src/org/netbeans/modules/apisupport/lite/SelectionPanel.java =================================================================== RCS file: /shared/data/helm/cvs/repository/apisupport/lite/src/org/netbeans/modules/apisupport/lite/SelectionPanel.java,v retrieving revision 1.1 diff -u -r1.1 SelectionPanel.java --- apisupport/lite/src/org/netbeans/modules/apisupport/lite/SelectionPanel.java 7 Feb 2003 19:17:15 -0000 1.1 +++ apisupport/lite/src/org/netbeans/modules/apisupport/lite/SelectionPanel.java 22 Feb 2003 21:28:11 -0000 @@ -59,11 +59,11 @@ setLayout(new java.awt.GridBagLayout()); - descriptionTextArea.setWrapStyleWord(true); - descriptionTextArea.setLineWrap(true); descriptionTextArea.setEditable(false); descriptionTextArea.setFont(needLabel.getFont()); + descriptionTextArea.setLineWrap(true); descriptionTextArea.setText(getBundle("TXT_Selection")); + descriptionTextArea.setWrapStyleWord(true); descriptionTextArea.setDisabledTextColor(needLabel.getForeground()); descriptionTextArea.setEnabled(false); descriptionTextArea.setOpaque(false); @@ -73,7 +73,7 @@ gridBagConstraints.weightx = 1.0; add(descriptionTextArea, gridBagConstraints); - needLabel.setText(getBundle("LBL_Need")); + org.openide.awt.Mnemonics.setLocalizedText(needLabel,getBundle("LBL_Need")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 1; @@ -81,8 +81,7 @@ gridBagConstraints.insets = new java.awt.Insets(11, 0, 0, 0); add(needLabel, gridBagConstraints); - newFileTypeCheckBox.setMnemonic(getBundle("CBX_File_Mnemonic").charAt(0)); - newFileTypeCheckBox.setText(getBundle("CBX_File")); + org.openide.awt.Mnemonics.setLocalizedText(newFileTypeCheckBox,getBundle("CBX_File")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; @@ -90,8 +89,7 @@ gridBagConstraints.insets = new java.awt.Insets(11, 0, 0, 0); add(newFileTypeCheckBox, gridBagConstraints); - newMenuToolbarItemCheckBox.setMnemonic(getBundle("CBX_Menu_Mnemonic").charAt(0)); - newMenuToolbarItemCheckBox.setText(getBundle("CBX_Menu")); + org.openide.awt.Mnemonics.setLocalizedText(newMenuToolbarItemCheckBox,getBundle("CBX_Menu")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; @@ -99,8 +97,7 @@ gridBagConstraints.insets = new java.awt.Insets(11, 0, 0, 0); add(newMenuToolbarItemCheckBox, gridBagConstraints); - templatesCheckBox.setMnemonic(getBundle("CBX_Templates_Mnemonic").charAt(0)); - templatesCheckBox.setText(getBundle("CBX_Templates")); + org.openide.awt.Mnemonics.setLocalizedText(templatesCheckBox,getBundle("CBX_Templates")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 4; @@ -119,14 +116,14 @@ }//GEN-END:initComponents - // Variables declaration - do not modify//GEN-BEGIN:variables + // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables private javax.swing.JCheckBox newMenuToolbarItemCheckBox; + private javax.swing.JTextArea descriptionTextArea; private javax.swing.JCheckBox templatesCheckBox; private javax.swing.JLabel needLabel; - private javax.swing.JPanel jPanel1; - private javax.swing.JTextArea descriptionTextArea; private javax.swing.JCheckBox newFileTypeCheckBox; - // End of variables declaration//GEN-END:variables + private javax.swing.JPanel jPanel1; + // ????? ?????????? ??????????//GEN-END:variables private boolean dataLoader; Index: apisupport/lite/src/org/netbeans/modules/apisupport/lite/TemplatesPanel.form =================================================================== RCS file: /shared/data/helm/cvs/repository/apisupport/lite/src/org/netbeans/modules/apisupport/lite/TemplatesPanel.form,v retrieving revision 1.1 diff -u -r1.1 TemplatesPanel.form --- apisupport/lite/src/org/netbeans/modules/apisupport/lite/TemplatesPanel.form 7 Feb 2003 19:17:16 -0000 1.1 +++ apisupport/lite/src/org/netbeans/modules/apisupport/lite/TemplatesPanel.form 22 Feb 2003 21:28:12 -0000 @@ -9,15 +9,15 @@ - - + + Index: apisupport/lite/src/org/netbeans/modules/apisupport/lite/TemplatesPanel.java =================================================================== RCS file: /shared/data/helm/cvs/repository/apisupport/lite/src/org/netbeans/modules/apisupport/lite/TemplatesPanel.java,v retrieving revision 1.1 diff -u -r1.1 TemplatesPanel.java --- apisupport/lite/src/org/netbeans/modules/apisupport/lite/TemplatesPanel.java 7 Feb 2003 19:17:17 -0000 1.1 +++ apisupport/lite/src/org/netbeans/modules/apisupport/lite/TemplatesPanel.java 22 Feb 2003 21:28:14 -0000 @@ -49,9 +49,6 @@ nameTextField.getAccessibleContext().setAccessibleDescription(getBundle("ACS_nameTextField")); locTextField.getAccessibleContext().setAccessibleDescription(getBundle("ACS_locTextField")); locTextField.selectAll(); - groupLabel.setDisplayedMnemonic((getBundle("LBL_Templ_Group_Mnem")).charAt(0)); - nameLabel.setDisplayedMnemonic((getBundle("LBL_Templ_Name_Mnem")).charAt(0)); - defaultLabel.setDisplayedMnemonic((getBundle("LBL_Templ_Default_Mnem")).charAt(0)); } private void initComponents() {//GEN-BEGIN:initComponents @@ -71,11 +68,11 @@ setLayout(new java.awt.GridBagLayout()); - commentTextArea.setWrapStyleWord(true); - commentTextArea.setLineWrap(true); commentTextArea.setEditable(false); commentTextArea.setFont(groupLabel.getFont()); + commentTextArea.setLineWrap(true); commentTextArea.setText(getBundle("TXT_Templates")); + commentTextArea.setWrapStyleWord(true); commentTextArea.setDisabledTextColor(groupLabel.getForeground()); commentTextArea.setEnabled(false); commentTextArea.setOpaque(false); @@ -88,7 +85,7 @@ add(commentTextArea, gridBagConstraints); groupLabel.setLabelFor(groupTextField); - groupLabel.setText(getBundle("LBL_Templ_Group")); + org.openide.awt.Mnemonics.setLocalizedText(groupLabel,getBundle("LBL_Templ_Group")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridy = 1; gridBagConstraints.anchor = java.awt.GridBagConstraints.WEST; @@ -103,7 +100,7 @@ add(groupTextField, gridBagConstraints); nameLabel.setLabelFor(nameTextField); - nameLabel.setText(getBundle("LBL_Templ_Name")); + org.openide.awt.Mnemonics.setLocalizedText(nameLabel,getBundle("LBL_Templ_Name")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 2; @@ -140,7 +137,7 @@ add(nameTextField, gridBagConstraints); defaultLabel.setLabelFor(defaultTextField); - defaultLabel.setText(getBundle("LBL_Templ_Default")); + org.openide.awt.Mnemonics.setLocalizedText(defaultLabel,getBundle("LBL_Templ_Default")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 3; @@ -156,7 +153,7 @@ add(defaultTextField, gridBagConstraints); locLabel.setLabelFor(locTextField); - locLabel.setText(getBundle("LBL_Templ_Location")); + org.openide.awt.Mnemonics.setLocalizedText(locLabel,getBundle("LBL_Templ_Location")); gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridx = 0; gridBagConstraints.gridy = 4; @@ -178,7 +175,7 @@ gridBagConstraints.insets = new java.awt.Insets(12, 11, 0, 0); add(locTextField, gridBagConstraints); - locButton.setText("..."); + org.openide.awt.Mnemonics.setLocalizedText(locButton,"..."); locButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { locButtonActionPerformed(evt); @@ -243,19 +240,19 @@ }//GEN-LAST:event_locButtonActionPerformed - // Variables declaration - do not modify//GEN-BEGIN:variables - private javax.swing.JLabel nameLabel; + // ?????????? ?????????? - ?? ????????? ?????? ???//GEN-BEGIN:variables private javax.swing.JTextArea commentTextArea; + private javax.swing.JLabel defaultLabel; + private javax.swing.JTextField locTextField; + private javax.swing.JLabel nameLabel; private javax.swing.JButton locButton; - private javax.swing.JLabel groupLabel; - private javax.swing.JLabel locLabel; private javax.swing.JTextField groupTextField; - private javax.swing.JTextField defaultTextField; - private javax.swing.JLabel defaultLabel; private javax.swing.JPanel jPanel1; private javax.swing.JTextField nameTextField; - private javax.swing.JTextField locTextField; - // End of variables declaration//GEN-END:variables + private javax.swing.JTextField defaultTextField; + private javax.swing.JLabel groupLabel; + private javax.swing.JLabel locLabel; + // ????? ?????????? ??????????//GEN-END:variables /** Getter for property version. * @return Value of property version.