In Swing, we can disable a button like this:
JButton start = new JButton("Start");
start.setEnabled(false);
Is there anyway to do this with a JavaFX Button?
The user should only be able to press the button once.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…