static void swingUpdate(Component c) { c.revalidate(); c.repaint(); }