public Point getLocation() { return dimensions.getLocation(); }
public int getX() { return dimensions.getLocation().x; }
public int getY() { return dimensions.getLocation().y; }
public void handleMoved(WindowDimensions dims) { Point loc = dims.getLocation(); ComponentAccessor.setX((Component) target, loc.x); ComponentAccessor.setY((Component) target, loc.y); postEvent(new ComponentEvent(target, ComponentEvent.COMPONENT_MOVED)); }