Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2010
    Rep Power

    Default Combobox Problem?

    Dear ,

    i have 4 combo box, By first combo box i am getting values in second and third combo box through itemstatechange event.

    And by third combo box i am getting values in 4th combo box .

    But when i select any other valure from first combo box. It irritate me by no effect rather just null values.

    I saw the code and find one line code combobox3.removeallitem();

    when i remove this line of code then it run perfectly but in combobox3 the old and new values are making dublicates. There is any solution for removeallitem(); code because its giving me the problem.

    Urgent reply please...

  2. #2
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Rep Power


    Before you remove the items from combobox3 you have to remove it's itemListener. The listener will fire when you remove all items.
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

Similar Threads

  1. problem with <rich:comboBox>
    By raj18 in forum JavaServer Faces (JSF)
    Replies: 1
    Last Post: 11-15-2009, 06:26 AM
  2. problem in combobox
    By 435.mahesh in forum AWT / Swing
    Replies: 3
    Last Post: 05-04-2009, 05:12 AM
  3. Problem in combobox
    By santhosh_el in forum AWT / Swing
    Replies: 4
    Last Post: 04-03-2009, 04:01 AM
  4. Need Help combobox
    By kwink in forum AWT / Swing
    Replies: 3
    Last Post: 03-21-2009, 11:05 AM
  5. problem with combobox as a TableCellEditor
    By sandeepsai39 in forum New To Java
    Replies: 0
    Last Post: 03-20-2009, 12:39 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