In a JTable, how do I render a checkbox column with a dirty marker?
- by Kevin Stembridge
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