private void createTextFieldTitle() {
    myTextFieldTitle = new JLabel(IdeBundle.message("run.anything.run.anything.title")) {
      @Override
      public void updateUI() {
        super.updateUI();
        Font defaultFont = JBFont.label();
        if (SystemInfo.isMac) {
          setFont(defaultFont.deriveFont(Font.BOLD, defaultFont.getSize() - 1f));
        }
        else {
          setFont(defaultFont.deriveFont(Font.BOLD));
        }
      }
    };

    Color foregroundColor = StartupUiUtil.isUnderDarcula()
                            ? UIUtil.isUnderWin10LookAndFeel() ? JBColor.WHITE : new JBColor(Gray._240, Gray._200)
                            : UIUtil.getLabelForeground();


    myTextFieldTitle.setForeground(foregroundColor);
  }
private void createTextFieldTitle()