How to disable default checkbox event in JavaFX


Question

I want a CheckBox to be selected all the time but also disabled. Can anyone help me?

1
1
12/4/2013 4:58:05 PM

From what I understood of your question, pls try:

checkBox.setSelected(true); 
checkBox.setDisable(true);
5
12/4/2013 4:36:11 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon