Java Swing - Problem in disabling JCheckbox

Posted by Yatendra Goel on Stack Overflow See other posts from Stack Overflow or by Yatendra Goel
Published on 2010-04-27T01:12:37Z Indexed on 2010/04/27 1:53 UTC
Read the original article Hit count: 287

Filed under:
|
|
|

I am disabling a JCheckbox and then enabling it with the help of setEnabled(...) method.

But the problem is if I disable a unselected checkbox, then it becomes selected after I enable it.

I want all of them to have the same state after being enabled that they had before being disabled.

© Stack Overflow or respective owner

Related posts about java

Related posts about swing