mercredi 2 avril 2014

Listener for Multiple checkboxes in multiple PanCards in Java (NetBeans)


Vote count:

0




I'm trying to make a Quizz, and I've created multiple PanCards(15), each having a question and 4 answers (radio buttons or check boxes or text fields) and I'm trying to export what the user clicks/introduces in a *.txt file. Is there any method to do it more quick? Or I should create an eventListener for each question and if the checkboxes are selected, I'll write them separately. I can't figure out how am I supposed to know how many checkboxes will going to be selected, since each pan has 4 checkboxes from which the user can select from 0 to 4 answers and the radio buttons are grouped as buttonGroup(1,2,7,8,13)


So, I can't do something like this: for (int i=0; i


Any ideas?



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire