In a JTable, how do I render a checkbox column with a dirty marker?
Posted
by Kevin Stembridge
on Stack Overflow
See other posts from Stack Overflow
or by Kevin Stembridge
Published on 2010-03-08T12:31:16Z
Indexed on
2010/03/08
12:36 UTC
Read the original article
Hit count: 270
Hi all, I'm trying to show a marker on checkbox columns in a JTable to indicate that the value is dirty.
I'm having trouble coming up with a way to render the marker. I've tried setting an icon on the JCheckbox but this just renders the icon instead of the checkbox. I've tried using a Panel but it messes up the layout.
Does anyone have an idea what is the best way to do this?
Thanks
© Stack Overflow or respective owner