I'm a newbie to Java.
Though I have programmed in several languages in the past
I have a relatively simple question. I've built a quiz from existing
code and everything is working fine except I cannot remove the extra radio
buttons from the applet.
The original quiz contained 4 radio buttons for 4 possible answers to each
question.
I need only two for True or False. How do I remove the extra radio buttons?
I've gone into each class in notepad and removed any mention of checkbox
answer c and d. I've also reworked the code to allow for two answers
instead of four, but the applet will only work if I have four buttons.
I don't even need answers, just buttons.
HELP!
Thanks;
Joe
08-29-2000, 12:11 PM
Aman
Re: Check Box Help
Hi ,
if you get rid of those constructors of checkbox
and the add statement that u don`t want, then I don`t think there should
be any problem. Hope you are are using CheckboxGroup
when you create a checkbox.
Thanks,
Aman
"Joe" <grendel@vgernet.net> wrote:
>
>Hi,
>
>I'm a newbie to Java.
>Though I have programmed in several languages in the past
>I have a relatively simple question. I've built a quiz from existing
>code and everything is working fine except I cannot remove the extra radio
>buttons from the applet.
>
>The original quiz contained 4 radio buttons for 4 possible answers to each
>question.
>I need only two for True or False. How do I remove the extra radio buttons?
>
>I've gone into each class in notepad and removed any mention of checkbox
>answer c and d. I've also reworked the code to allow for two answers
>instead of four, but the applet will only work if I have four buttons.
>I don't even need answers, just buttons.
>
>HELP!
>
>Thanks;
>
>Joe
>
>