Java - Stuck!

Discussion in 'Programming' started by Adam Hughes, Mar 28, 2008.

  1. #1
    Hi,

    I am making a basic address book in Java, I have created my form and I am beginning to work on making the information I type into each field / radio buttons clicked to write to a file and be stored etc, but I am having problems at the very basics of all this -- the action listeners. How do I add an action listener to a radio button? What code do I need to use? Specifically (if it differs at all) for radio buttons male and female options.

    Thanks
     
    Adam Hughes, Mar 28, 2008 IP
  2. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #2
    Post the code whatever you have got so far and then tell us what all problems are you facing.
     
    it career, Mar 30, 2008 IP
  3. Adam Hughes

    Adam Hughes Guest

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the reply and interest in helping, but I figured out my problems and they are now solved.
     
    Adam Hughes, Apr 10, 2008 IP
  4. Arkserver

    Arkserver Banned

    Messages:
    2,533
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #4
    For java help try the sun forums.
     
    Arkserver, Apr 11, 2008 IP
  5. JPF

    JPF Guest

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hey Adam,

    Check this link out:

    http://www.JavaProgrammingForums.com

    I will do my best to answer any of your coding problems in the future :D
     
    JPF, May 16, 2008 IP