문제

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