public void setText(@NotNull SimpleColoredComponent colored) {
      clearText();
      hintHint = null;

      myColored = colored;
      add(myColored, BorderLayout.CENTER);

      setOpaque(true);
      setBackground(colored.getBackground());

      revalidate();
      repaint();
    }
public void setText(@NotNull SimpleColoredComponent colored)