JComponent () { mySearchLabel = new JBLabel(TaskBundle.message("label.search"), SwingConstants.RIGHT); myDefaultSearch = new LanguageTextField(YouTrackLanguage.INSTANCE, myProject, myRepository.getDefaultSearch()); installListener(myDefaultSearch); return FormBuilder.createFormBuilder().addLabeledComponent(mySearchLabel, myDefaultSearch).getPanel(); }