static Pt translateLocationBetweenComponents(Pt p, Component c1, Component c2) { ret p == null ?: toPt(SwingUtilities.convertPoint(c1, toPoint(p), c2)); }