I am trying to create custom cursor in javaFX. Here is my code:
Image image = new Image("mycursor.png");
Pane pane= new Pane();
pane.setCursor(new ImageCursor(image,
image.getWidth() / 2,
image.getHeight() /2));
Is the creation of cursors for windows 8.1 does not work?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…