Is it possible to set the mouse cursor to become a pointer (hand) when hovering a Node width JavaFX Scene Builder? How?
By default, the cursor will be set to a simple pointer. To manipulate the cursor you can access it via the scene using : scene. setCursor(Cursor.
Download and install the latest version of Scene Builder. In the Settings/Preferences dialog ( Ctrl+Alt+S ), select Languages & Frameworks | JavaFX. in the Path to SceneBuilder field. In the dialog that opens, select the Scene Builder application (executable file) on your computer and click OK.
You can add the following Style
to the Node in question:
-fx-cursor: hand;
For additional options, check out the JavaFX CSS Documentation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With