Set Jtable/Column Renderer for booleans

Posted by twodayslate on Stack Overflow See other posts from Stack Overflow or by twodayslate
Published on 2010-05-21T04:25:26Z Indexed on 2010/05/21 4:30 UTC
Read the original article Hit count: 247

Filed under:
|

Right now my Boolean values for my JTable display as JCheckBoxes. This would normally be fine but I would like to display them as either an alternative String or image. I can get them to display as true/false but I would like to display them as a checkmark (?) if true and nothing if false. Possibly an image but lets do a String first...

© Stack Overflow or respective owner

Related posts about jtable

Related posts about renderer