DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
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
    >
    >



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links