/** Inserts the point and updates the connection. */ public void insertPointAt(Point p, int i) { super.insertPointAt(p, i); layoutConnection(); }