Search code examples
javafx-2scenebuilder

JavaFX Scene Builder: pointer cursor onMouseOver


Is it possible to set the mouse cursor to become a pointer (hand) when hovering a Node width JavaFX Scene Builder? How?


Solution

  • You can add the following Style to the Node in question:

    -fx-cursor: hand;
    

    For additional options, check out the JavaFX CSS Documentation