How to change the highlighting color in JavaFX? Usually it is blue with gradients, but I would like to have a green highlighting. I have tried the following:
.root{
-fx-shadow-highlight-color: #CCFF99;
}
Thanks for help!
Also you can use -fx-highlight-fill
on text-area
class selector.
.text-area {
-fx-highlight-fill: green;
}
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