void (@NotNull SimpleColoredComponent colored) { clearText(); hintHint = null; myColored = colored; add(myColored, BorderLayout.CENTER); setOpaque(true); setBackground(colored.getBackground()); revalidate(); repaint(); }