在 Jcombobox 中,当我输入一些字母(例如“j”)时,默认情况下会聚焦第一个以“j”开头的项目。但是相同的逻辑不适用于许多字母(例如“ji”)。如何当我输入“ji”时,它应该关注以“ji”开头的第一个项目,依此类推?
最佳答案
In Jcombobox when i type some letter say ('j'),the first item that starts with 'j' will be focussed by default.But the same logic is not applicable with many letters(say 'ji').How to make it possible in such a way that when i type 'ji' it should focus onto the first item that starts with 'ji' and so on.
关于java - 如何设置 Jcombobox 的智能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16730677/