public void setLocation (int x, int y)

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).

Parameters:
x    the X coordinate of the new location
y    the Y coordinate of the new location

See also:
java.awt.Component.setLocation(int, int), java.awt.Point.getLocation, java.awt.Point.move(int, int)

Since:  1.1