svoid setLocation(Component c, Pt etc p) { if (c != null) swing { c.setLocation(p.x, p.y); } }