how to color buttons in javafx code example
Example: Javafx button color
//making a red button in javafx
Button button = new Button("My Button");
button.setStyle("-fx-background-color: #ff0000; ");
//making a red button in javafx
Button button = new Button("My Button");
button.setStyle("-fx-background-color: #ff0000; ");