Results 1 to 2 of 2
  1. #1
    nayeem is offline Member
    Join Date
    Nov 2016
    Posts
    8
    Rep Power
    0

    Default how can i get selected JRadioButton for gender value example like male or female .

    how can i get selected JRadioButton for gender value example like male or female using gender information from mysql database?
    Last edited by nayeem; 11-12-2016 at 10:00 AM.

  2. #2
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    1,991
    Rep Power
    8

    Default Re: how can i get selected JRadioButton for gender value example like male or female

    Divide and conquer: break your problem down into smaller steps. You'll then come to the part which you don't understand:

    - Connect to the database
    - Execute a query
    - Retrieving the results
    - Creating a Swing UI
    - Creating a JRadioButton
    - Creating a ButtonGroup
    - Selecting a JRadioButton programmatically
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

Similar Threads

  1. Predicting the gender of a baby HELP PLEASE
    By finn_the_human in forum New To Java
    Replies: 4
    Last Post: 09-10-2014, 10:38 AM
  2. set gender and selected combobox value
    By wynects in forum Java Servlet
    Replies: 0
    Last Post: 12-21-2010, 06:03 AM
  3. Setting selected JRadioButton in ButtonGroup
    By emceenugget in forum AWT / Swing
    Replies: 3
    Last Post: 01-29-2009, 06:05 PM

Posting Permissions

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