版权声明:就是码字也不容易啊 https://blog.csdn.net/qq_40946921/article/details/84349700
如果要将鼠标隐藏,只需要把鼠标改为一张透明的图片就行了
ImageCursor Mouse=new ImageCursor(这里放Image对象,20,20) //20,20表示光标图片的偏移量
//在scene中修改光标
Scene scene=new Scene();
scene.setCursor(Mouse); //修改鼠标图标