Results 1 to 4 of 4
  1. #1
    Join Date
    May 2016
    Posts
    7
    Rep Power
    0

    Default How to add radio button functionality

    hey everyone !!
    i am making a database program on netbeans which inserts updates and search records in database using odbc driver for MS Access.
    i want to add radio buttons that when someone selects that radio button and clicks insert data should be entered in a particular table that i have declared behind that radio button.....
    how can i add this functionality? can i use if-else?? or anything else
    thanks in advance

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    14

    Default Re: How to add radio button functionality

    Buttons and other event driven "widgets" use the event dispatch system to respond when they are invoked (e.g. pressed for buttons). This means
    setting up listeners appropriate to the widget. I recommend you check out the tutorials in my signature, click on the big index and go to the
    section on how to use buttons. There is also a section on listeners which is important.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  3. #3
    Join Date
    May 2016
    Posts
    7
    Rep Power
    0

    Default Re: How to add radio button functionality

    do you know how to add an image as background of my gui frame?? as i am making a project on football team management so i would like to add a football image as watermark in background

  4. #4
    Join Date
    May 2016
    Posts
    7
    Rep Power
    0

    Default Re: How to add radio button functionality

    do you know how to add an image as background of my gui frame?? as i am making a project on football team management so i would like to add a football image as watermark in background
    any ideas??

Similar Threads

  1. radio button
    By gbonecapone in forum New To Java
    Replies: 25
    Last Post: 06-21-2013, 03:23 PM
  2. Change/Disable middle-button click paste functionality
    By marmaraba in forum New To Java
    Replies: 0
    Last Post: 04-04-2012, 01:54 PM
  3. Radio Button
    By S-NESH in forum New To Java
    Replies: 6
    Last Post: 02-04-2011, 05:03 PM
  4. Regarding Undo functionality for button
    By bipul049 in forum New To Java
    Replies: 1
    Last Post: 10-09-2010, 01:32 PM
  5. Radio Button help!
    By javanator in forum New To Java
    Replies: 3
    Last Post: 04-25-2010, 08:01 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
  •