private void createUIComponents() {
    mavenHomeField = new TextFieldWithHistory();
    mavenHomeField.setHistorySize(-1);
    final ArrayList<String> foundMavenHomes = new ArrayList<>();
    getAllKnownHomes().forEach(it -> foundMavenHomes.add(it.getTitle()));
    mavenHomeField.setHistory(foundMavenHomes);
    mavenHomeComponent = LabeledComponent.create(
      new ComponentWithBrowseButton<>(mavenHomeField, null), MavenConfigurableBundle.message("maven.settings.environment.home.directory"));
    mavenHomeOnTargetHelpLabel =
      ContextHelpLabel.create(MavenConfigurableBundle.message("maven.settings.on.targets.environment.home.directory.context.help"));
    mavenHomeOnTargetHelpLabel.setVisible(false);
    mavenHomeOnTargetHelpLabel.setOpaque(true);
    mavenHomeComponent.add(mavenHomeOnTargetHelpLabel, BorderLayout.EAST);

    final JBLabel versionLabel = new JBLabel();
    versionLabel.setOpaque(true);
    versionLabel.setVerticalAlignment(SwingConstants.TOP);
    versionLabel.setVerticalTextPosition(SwingConstants.TOP);
    mavenVersionLabelComponent = LabeledComponent.create(versionLabel, "");
  }
private void createUIComponents()