Closed mro closed 9 years ago
Vijay,
Your locator has a few defects:
1) You are returning the "X" coordinate in the locateY() method.
2) You should be returning *local* coordinates, not "full bounds" coordinates.
Your locator should look like:
final PLocator locator = new PLocator() {
public double locateX() {
double x = circle.getBounds().getCenter2D().getX();
return x;
}
public double locateY() {
double y = circle.getBounds().getCenter2D().getY();
return y;
}
};
Reported by atdixon
on 2011-12-18 20:31:29
Invalid
Originally reported on Google Code with ID 233
Reported by
vijay.rokde@uniken.com
on 2011-12-13 12:51:40