JComponent (@NotNull Presentation presentation, @NotNull String place) { final JPanel panel = new JPanel(new BorderLayout(1, 0)); final ComboBoxButton button = createComboBoxButton(presentation); final String text = SSRBundle.message("search.dialog.file.type.label"); final JLabel label = new JBLabel(text); button.setLabel(label); panel.add(label, BorderLayout.WEST); panel.add(button, BorderLayout.CENTER); return panel; }