luck, db There are no new questions, but there may be new answers.
Darryl Burke wrote:You code runs as expected for me. Step through your if statements -- what background is set when cb1 is selected and cb2 isn't?
Darryl Burke wrote:Additionally, never compare booleans to true or false.// if (ch1.getState() == true) if (ch1.getState()) : : : // if (ch1.getState() == false) if (!ch1.getState()) // or better, use an else block edit And do you have a valid reason for using AWT and not the more modern Swing?
munjal upadhyay wrote:I want to know all the inBuilt method like getState(), setState() .... will you please send me the links.