I\'m trying to remove the border glow (please see screenshot below) that appears by default when a JavaFX button is selected:
There is several way to do this. You can try any of this.
button.setStyle("-fx-focus-color: transparent;");
or
.button{ -fx-focus-color: transparent; }
.button:focused{ -fx-focus-color: transparent; }