The Artima Developer Community
Sponsored Link

Java Answers Forum
refresh JComboBox

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
jennifer

Posts: 6
Nickname: chil
Registered: Jun, 2003

refresh JComboBox Posted: Jul 7, 2003 5:58 AM
Reply to this message Reply
Advertisement
Can you pls tell me how to refresh a combo box.I have 2 combo boxes that display different types of data depending on 2 other options that they select.
When they select data type A ,then B then back to A again,the list box still holds data from data type B.So the selected item is invalid.Ive tried to refesh the combo box by doin revalidate,validate and SwingUtilities.updateComponentTreeUI(combo) but this doent work.
Does any one have any ideas?
thanks

Topic: IMPORTING USER DEFINED CLASSES Previous Topic   Next Topic Topic: remote  database access

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use