I try to use the isChecked()
method to identify whether a radio button is selected or not, and I get an error saying 'cannot find symbol'; I have imported java.awt.event.*
so it's not that! It's probably something stupid but I'm really stuck!
if (beginner.isChecked())
{
difficultyMark = 1;
}
else if (normal.isChecked())
{
difficultyMark = 2;
} else {
difficultyMark = 3;
}