Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 JXTable 已启动并正在运行,但我想将一列呈现为标签或图标。我已经有了将字符串值转换为标签的代码(一系列图标附加在一起)。我只需要知道如何告诉表格这样渲染它。
任何的想法?
提前致谢!
JXTable 扩展了 JTable,所以它以同样的方式完成。如果有人发现这只是在这里看到一个例子:http ://www.exampledepot.com/egs/javax.swing.table/CustRend.html