Xcursor library in Java