用于 Swing 的多列组合框 [英] Multi Columns Combo Box for Swing
本文介绍了用于 Swing 的多列组合框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
目前,我正在寻找可以放置在我的 Java Swing 应用程序中的多列组合框组件.
currently, I am looking for a multi columns comb box components which can place in my Java Swing application.
目前,我在用户输入时使用组合框作为自动完成下拉列表.
Currently, I use combo box as auto complete drop down list as user is typing.
是否有任何可用的 GUI 组件,使我能够拥有以下(多列)?如您所见,下拉列表中有 3 列,而不是上例中的 1 列.
Is there any available GUI component, which enable me to have the following (multi collumns)? As you can see, there are 3 columns in the drop down list, as opposed to 1 column in the above example.
谢谢.
推荐答案
这里是一个包含两列的可下载解决方案.
Here is a downloadable solution with two columns.
There are other candidates here and here but you need to write your own renderer.
这篇关于用于 Swing 的多列组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文