Example usage for java.awt Point getLocation

List of usage examples for java.awt Point getLocation

Introduction

In this page you can find the example usage for java.awt Point getLocation.

Prototype

@Transient
public Point getLocation() 

Source Link

Document

Returns the location of this point.

Usage

From source file:Main.java

public static void main(String[] args) {
    Point p = new Point();

    p.setLocation(2.3D, 3.3D);//  w  ww  .  j  a  v a2 s.  c om
    System.out.println(p.getLocation());
}