jTable下拉箭头可见性问题中的Jcombobox

发布于 2024-11-29 04:34:37 字数 181 浏览 3 评论 0原文

我在尝试弄清楚如何保持 jcombobox(包含在 jTable 的单元格中)的下拉箭头始终可见时遇到了很多麻烦。我知道这是可能的,因为在 gui-builder 属性面板表中有许多具有此属性的组合框。这样做的目的是让我的表的用户清楚地知道他们在表的这个单元格中有选项。我不希望它仅显示为另一个文本单元格。

您能为我提供一些指导吗?

I am having a lot of trouble trying to figure out how to keep the drop-down arrow of my jcombobox (which is contained in a cell of a jTable) visible at all times. I know this is possible because in the gui-builder properties panel table there are many comboboxes with this property. The point of doing this is to make it obvious to users of my table that they have options in this cell of the table. I do not want it to appear as just another text cell.

Could you please provide me with some direction?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文