@Override protected void paintChildren(Graphics g) { updateText(g.getClipBounds()); super.paintChildren(g); }