275276277278279280281282283284285
} } protected void paintPromptComponent(Graphics g, JTextComponent txt) { JTextComponent lbl = getPromptComponent(txt); lbl.paint(g); if (txt.getCaret() != null) { txt.getCaret().paint(g); } }