if event.propertyName == "value":
newX = event.newValue;
rect = event.source.parent.getComponent("Rectangle")
system.gui.moveComponent(rect, newX, 250)
This code can manipulate a components location.
How about moving a window using the same principle of annimation?
EDIT:
window.setLocation(0,0)
got it.