I have a Swings GUI which contains a JC开发者_Go百科omboBox and I want to load data into it from the database.
I\'m trying to reproduce the behavior of the search field of Firefox or Safari, or the search field of stackoverflow.com on the top 开发者_如何学Pythonright of this page.
I have a combobox which stores \"Computer ,Code:21\",\"History ,Code:31\" and also the number of items can be changed.but when I write this code for getting its items:
I understand how to mak开发者_JAVA技巧e a multiple-select list box using JLists but I want to add JCheckBoxes to the list and make it dropdown like. The best visual representation I have found online
I know I am missing something simple, I think in getting the combobox to access the array. package my.freelancebillingapp;