質問

I have a JXTable up and running but I would like to render a column as a label or Icon. I already have the code to convert the string value into a label (with a series of icons appended together). I just need to know how to tell the table to render it as such.

Any idea?

Thanks in advance!

役に立ちましたか?

解決

JXTable extends JTable so it's done the same way. If anyone found this just see an example here: http://www.exampledepot.com/egs/javax.swing.table/CustRend.html

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top