Question

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!

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top