GUI enabling/disabling of controls: Difference between revisions
GUI enabling/disabling of controls (view source)
Revision as of 12:56, 13 February 2018
, 6 years ago→{{header|Java}}: Corrected comment.
No edit summary |
m (→{{header|Java}}: Corrected comment.) |
||
Line 1,202:
increment.setOnAction(event-> inputValue.set(inputValue.get() + 1));
// incr-button is disabled when input is >=
increment.disableProperty().bind(inputValue.greaterThanOrEqualTo(10));
|