static A repaint(A c) { if (c != null) c.repaint(); ret c; }