public StatusText() {
    myClickListener =
        new ClickListener() {
          @Override
          public boolean onClick(@NotNull MouseEvent e, int clickCount) {
            if (e.getButton() == MouseEvent.BUTTON1 && clickCount == 1) {
              ActionListener actionListener = findActionListenerAt(e.getPoint());
              if (actionListener != null) {
                actionListener.actionPerformed(new ActionEvent(this, 0, ""));
                return true;
              }
            }
            return false;
          }
        };

    myMouseMotionListener =
        new MouseAdapter() {

          private Cursor myOriginalCursor;

          @Override
          public void mouseMoved(final MouseEvent e) {
            if (isStatusVisible()) {
              if (findActionListenerAt(e.getPoint()) != null) {
                if (myOriginalCursor == null) {
                  myOriginalCursor = myMouseTarget.getCursor();
                  myMouseTarget.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
                }
              } else if (myOriginalCursor != null) {
                myMouseTarget.setCursor(myOriginalCursor);
                myOriginalCursor = null;
              }
            }
          }
        };

    myComponent.setOpaque(false);
    myComponent.setFont(UIUtil.getLabelFont());
    setText(DEFAULT_EMPTY_TEXT, DEFAULT_ATTRIBUTES);
    myIsDefaultText = true;
  }
  private void buildInProcessCount() {
    removeAll();
    setLayout(new BorderLayout());

    final JPanel progressCountPanel = new JPanel(new BorderLayout(0, 0));
    progressCountPanel.setOpaque(false);
    String processWord = myOriginals.size() == 1 ? " process" : " processes";
    final LinkLabel label =
        new LinkLabel(
            myOriginals.size() + processWord + " running...",
            null,
            new LinkListener() {
              @Override
              public void linkSelected(final LinkLabel aSource, final Object aLinkData) {
                triggerPopupShowing();
              }
            });

    if (SystemInfo.isMac) label.setFont(UIUtil.getLabelFont().deriveFont(11.0f));

    label.setOpaque(false);

    final Wrapper labelComp = new Wrapper(label);
    labelComp.setOpaque(false);
    progressCountPanel.add(labelComp, BorderLayout.CENTER);

    // myProgressIcon.setBorder(new IdeStatusBarImpl.MacStatusBarWidgetBorder());
    progressCountPanel.add(myProgressIcon, BorderLayout.WEST);

    add(myRefreshAndInfoPanel, BorderLayout.CENTER);

    progressCountPanel.setBorder(new EmptyBorder(0, 0, 0, 4));
    add(progressCountPanel, BorderLayout.EAST);

    revalidate();
    repaint();
  }