Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How to find whether changes made in the checkbox or not which is inside a combobox?

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to find whether changes made in the checkbox or not which is inside a combobox?

    I have 4 JCheckBox as a components of JComboBox. Now i have to raise an event whenever those Checkboxes or Checked or Unchecked.


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: How to find whether changes made in the checkbox or not which is inside a combobox?

    Quote Originally Posted by Varun Nandan View Post
    I have 4 JCheckBox as a components of JComboBox. Now i have to raise an event whenever those Checkboxes or Checked or Unchecked.
    Are you asking how to listen for when the JCheckBox gets checked/unchecked? See the following: How to Use Buttons, Check Boxes, and Radio Buttons (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)

Similar Threads

  1. checkbox on a JTable
    By jetjet21faja in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 1st, 2013, 08:11 AM
  2. [SOLVED] Help! ComboBox, CheckBox, RadioButton and TextArea/TextField
    By Kinshen09 in forum AWT / Java Swing
    Replies: 6
    Last Post: November 17th, 2012, 07:32 PM
  3. [SOLVED] Populating second combobox from a combobox help!
    By ComputerSaysNo in forum AWT / Java Swing
    Replies: 7
    Last Post: October 18th, 2011, 09:01 AM
  4. Replies: 2
    Last Post: April 21st, 2011, 06:32 AM
  5. how to delete record based on checkbox selected checkbox
    By -_- in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: December 15th, 2009, 09:26 PM