Sets the location of the point to the specified location.
This method is included for completeness, to parallel the
setLocation
method of Component
.
p | a point, the new location for this point |
java.awt.Component.setLocation(java.awt.Point), java.awt.Point.getLocation
Diagram: Point