Thanks man. That seems like it just might work. I'll have to try it out when I get back on the computer and let you know how it worked.
The functionality I'm looking for is something like (or almost exactly like) Sublime Text's Command Palette and file searcher. I think that's like the best feature ever. So my idea is to have a text editor of some sort and as you type in, it will perform fuzzy string searching on an array of either commands or files in a directory. Then, if there are any matches that fit the criteria, it will populate some drop down menu with the results. For the commands, the ApplicationCommandManager seems like a perfect fit to integrate this with.
I actually don't even want to use a ComboBox in the end, but I can't get anything else working and I'll be okay with at least using it for testing/experimentation. I would actually rather just use a TextEditor (or Label) in conjunction with a PopupMenu so I can use custom Components for the items in the PopupMenu. Specifically, I want to use something like AttributedString so I can draw the matching characters in different colors (like Sublime).
The problem I'm having with that is that when I do get a match and the PopupMenu gets populated with some items, my text editor loses focus and I can't for the life of me figure out a way around that. I'm afraid that might also happen with the ComboBox, but I'll just have to wait and see.
I also want to create some autocompletion system for a text editor in the future, so I really need to find out how I can prevent this focus problem. I'm not too worried about the autocompletion system right now because I plan on this text editor to be a very long term project, but the command/file searcher thing is something I think is widely applicable and I would like to figure it out as soon as possible.
Anyways, again, thanks for your reply and hopefully what you posted can at least help me get something working so I can easily test it. By the way, I do have a pretty decent fuzzy string searching system going already using this small header only library called Simstring. I've made couple of fuzzy string searching tools so far that work okay, but Simstring seems to be the best so far.