public void componentMoved(ComponentEvent e) { Rectangle r = e.getComponent().getBounds(); if (IJ.debugMode) IJ.log("CP.componentMoved: "+r); if (r.x>0) { defaultLocation = new Point(r.x, r.y); recordGeometry(); } } });
public void componentMoved(ComponentEvent e) { Rectangle r = e.getComponent().getBounds(); if (IJ.debugMode) IJ.log("CP.componentMoved: "+r); if (r.x>0) { defaultLocation = new Point(r.x, r.y); recordGeometry(); } } });