表格单元格内的组合框 [英] combo box inside a cell of a table

查看:66
本文介绍了表格单元格内的组合框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想问问是否有人可以帮助我...我想知道如何在jPanel形式的jTable的某一列中创建一个jComboBox(不是硬编码,带有预设工具箱的那个)....

我希望有人能帮助我.

在此先感谢..

Hi guys,

I would just like to ask if anyone could help me... I would want to know how to create a jComboBox in one of the columns in a jTable in a jPanel form (not hardcode,the one with preset toolbox)....

I hope someone could help me..

Thanks in advance..

推荐答案

检查此内容: http://www.exampledepot.com/egs/javax.swing.table/ComboBox.html [^ ]

我强烈建议您阅读本教程.

所以您去过这里……偷偷溜进去,检查一下,然后退了出去…….不知道我们会注意... 但我们做到了!

我的朋友还有其他问题吗?
check this: Java Tutorial - How to Use Tables @ oracle.com[^]

and here is a code example:

http://www.exampledepot.com/egs/javax.swing.table/ComboBox.html[^]

I strongly recommend to read the tutorial.

So you''ve been here... sneaked in, checked and walked back out.... not knowing that we would notice... BUT WE DID!

Further problems my friend?


这篇关于表格单元格内的组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆