Changes the point to have the specified location.
This method is included for completeness, to parallel the
setLocation method of Component.
Its behavior is identical with move(int, int).
x | the X coordinate of the new location | |
y | the Y coordinate of the new location |
java.awt.Component.setLocation(int, int), java.awt.Point.getLocation, java.awt.Point.move(int, int)
Diagram: Point