将 jCombobox 按钮移至左侧
我有一个 jCombobox,我想将用于显示选项的按钮移到左侧。知道如何做到这一点吗?
---------------------------
|\/ |Combobox |
--------------------------
谢谢
I have a jCombobox and i want to move the button used to display the choices to the left. Any idea of how to do this?
---------------------------
|\/ |Combobox |
--------------------------
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在 JComboBox 上调用它:
这应该将按钮设置在左侧。但是,它不会更改下拉列表中元素的对齐方式。
You could call this on the JComboBox:
That should set the button to the left side. It will not, however, change the alignment of the elements in the drop-down-list.