-
refresh JComboBox
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks