# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: D:\ws\main # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: projectui/src/org/netbeans/modules/project/ui/Bundle.properties --- projectui/src/org/netbeans/modules/project/ui/Bundle.properties +++ projectui/src/org/netbeans/modules/project/ui/Bundle.properties @@ -133,6 +133,7 @@ LBL_TemplateChooserPanelGUI_jLabel2=File types: LBL_TemplateChooserPanelGUI_jLabel3=Description: LBL_TemplateChooserPanelGUI_jTextArea=No description +LBL_TemplateChooserPanelGUI_QuicksearchLabel=Fil&ter\: LBL_TemplateChooserPanelGUI_showRecommendedTemplatesCheckBox=Only Show File Types Supported in Selected Project LBL_TargetChooser_Project_Label=&Project\: LBL_TargetChooser_Browse_Button=Bro&wse... Index: projectui/src/org/netbeans/modules/project/ui/TemplatesPanelGUI.java --- projectui/src/org/netbeans/modules/project/ui/TemplatesPanelGUI.java +++ projectui/src/org/netbeans/modules/project/ui/TemplatesPanelGUI.java @@ -68,6 +68,7 @@ import javax.swing.BorderFactory; import javax.swing.JComponent; import javax.swing.JEditorPane; +import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.KeyStroke; @@ -158,7 +159,20 @@ // }); // } // }); + + + //Hack to add a text label to the quicksearch + Component qsComponent = panelFilter.getComponent( 0 ); + if( qsComponent instanceof JComponent ) { + for( Component c : ((JComponent)qsComponent).getComponents() ) { + if( c instanceof JLabel ) { + JLabel jLabel = (JLabel) c; + String text = org.openide.util.NbBundle.getMessage(TemplateChooserPanelGUI.class, "LBL_TemplateChooserPanelGUI_QuicksearchLabel"); + Mnemonics.setLocalizedText(jLabel, text); } + } + } + } public void setTemplatesFolder (final FileObject folder) { final DataFolder dobj = DataFolder.findFolder (folder);