public void setText(@NlsContexts.Tooltip String s, HintHint hintHint) {
      clearText();
      this.hintHint = hintHint;

      if (s != null) {
        myPane = IdeTooltipManager.initPane(s, hintHint, null);
        add(myPane, BorderLayout.CENTER);
      }

      setOpaque(true);
      setBackground(hintHint.getTextBackground());

      revalidate();
      repaint();
    }
public void setText(@NlsContexts.Tooltip String s, HintHint hintHint)