• Post Reply Bookmark Topic Watch Topic
  • New Topic

jtable checkbox header and checkbox in cell (event)

 
mark smith
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

i have a jtable with a checkbox in the header and other checkbox in the cell of the column.

like you can see on the picture, there are a problem



boolean is used for the first colum for the DefaultTableModel

currently i add a tableRenderer for my first column


what option should i use to make header to get deselected if a check box is deselected?


thanks
 
Rob Spoor
Sheriff
Posts: 20817
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mark smith wrote:like you can see on the picture, there are a problem

Apparently imagebin.org disallows hotlinking, so for all interested, here's the link: http://imagebin.org/index.php?mode=image&id=158035
 
mark smith
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
problem to see the image...

so url is:
http://imagebin.org/158035
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!