although there is no errors in my code, its not working
if the answer is right theradio buttons should be cleared, but its not workingPHP Code:
if (jRadioButton1.isSelected())
{
jLabel2.setText("right");
jLabel2.setText(null);
buttonGroup1.clearSelection();
jLabel1.setText("how old am I");
jRadioButton1.setText("15");
jRadioButton2.setText("16");
jRadioButton3.setText("17");
jRadioButton4.setText("18");
}
else jLabel2.setText("wrong");