Check Box Help


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Check Box Help

  1. #1
    Joe Guest

    Check Box Help


    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



  2. #2
    Aman Guest

    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
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center