List of usage examples for java.awt Point setLocation
public void setLocation(Point p)
Source Link
From source file:Main.java
public static void main(String[] args) { Point p = new Point(); p.setLocation(new Point(2, 3)); System.out.println(p.toString()); }