ChangeListener on JCheckBox
843806Jul 28 2008 — edited Jul 29 2008I am trying to enable a JTextArea when I select a JCheckBox. The if the change leaves the box selected, then a warning should pop up and the area should become editable. And if the box is deselected, then the area should just be un-editable.
So when I first select the box, the warning dialog pops up and I have to click 'OK' a few times for it to go away. After that, each time I rollover the box, the warning dialog pops up again. My first guess was that some property of the JCheckBox was changing when I rolled over it, but I have another check box elsewhere in the code that implements ChangeListener and works perfectly fine.
Any ideas?