How to make a RadioButton look like regular Button in JavaFX
问题 I'm implementing a toolbox-like pane, so user can only pick one tool at a time, and I switched from Button to RadioButton for its behavior. But I found that RadioButton uses its own skin with a dot, however I still want it to display like a normal Button . I'm a beginner with JavaFX and FXML, so anyone know how can I accomplish this? 回答1: First Create a radio button, remove the radio-button style and then add the toggle-button style like RadioButton radioButton=new RadioButton("Radio");