Results 1 to 5 of 5
  1. #1
    pink123 is offline Member
    Join Date
    Feb 2011
    Posts
    84
    Rep Power
    0

    Default which swing feature to use

    Hi,

    I have a situation where I have to implement the folowing solution using swing

    A question followed by multiple choice answer

    Please select

    a1
    a2
    a3
    a4
    a5
    a6


    I am new to swing,Please suggest which component to use and how using netbeans GUI tools


    Thanks ,

  2. #2
    Dinesh_rockz is offline Member
    Join Date
    Jan 2011
    Location
    India
    Posts
    22
    Rep Power
    0

    Default

    JCheckBox is used to select multiple choice

  3. #3
    rp181 is offline Member
    Join Date
    Mar 2009
    Posts
    70
    Rep Power
    0

    Default

    By multiple choice, I think he means a standard test with options, and you choose the correct answer. In this case, use JRadioButtons.

  4. #4
    pink123 is offline Member
    Join Date
    Feb 2011
    Posts
    84
    Rep Power
    0

    Default

    Thanks for the reply.

    I have to make multiple selection for a single question.
    Also it would be of help if you could tell me how to do it via netbeans GUI tools.how to place it at teh right location.I am new to swings

  5. #5
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    25

    Default

    Quote Originally Posted by pink123 View Post
    Thanks for the reply.

    I have to make multiple selection for a single question.
    Also it would be of help if you could tell me how to do it via netbeans GUI tools.how to place it at teh right location.I am new to swings
    There really is no substitute for going through the net beans tutorial as it will show you how to do all this, and graphically and interactively too. Our pitiful small blips of advice will probably not help nearly as much as the tutorial. So I advise you to get cracking! Also, check out the Swing tutorials on the Oracle Swing site as it will have some NetBeans related advise too: Oracle Swing/NetBeans tutorial

Similar Threads

  1. implementing a sorting feature
    By -Dman100- in forum New To Java
    Replies: 8
    Last Post: 01-12-2011, 07:08 PM
  2. possible feature of jdk1.7
    By sikandar in forum Advanced Java
    Replies: 2
    Last Post: 09-05-2008, 07:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •