making a red button in javafx Button button = new Button("My Button"); button.setStyle("-fx-background-color: #ff0000; ");
確定! 回上一頁