button disapear java fx code example
Example: how to make a button disapear on click in javafx
public void letterChosen(ActionEvent event) {
Button source = (Button) event.getSource();
source.setVisible(false);
System.out.println("pick: "+source.getUserData());
}