glassPlane.setHotspotPoint(convertToGlobal(p));
}
}
public Point getMascotLocation() {
GlassPlane glassPlane = getGlass();
Point p = glassPlane.getHotspotPoint();
if (glassPlane != null && p != null) {
return convertToLocal(glassPlane.getHotspotPoint());
} else {
return null;
}
}