• Post Reply Bookmark Topic Watch Topic
  • New Topic

JCheckbox in JTablheader

 
sara kamer
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Java Freaks,

I want to add checkbox in de header.I have no idea. please help thank you

 
Campbell Ritchie
Marshal
Posts: 52565
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

Don’t expect people to read lots of code like that, particularly with the long lines. Have you seen the Java Tutorials section? That should help.
 
m Korbel
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
- don't do that, JTableHeader isn't proper container for JComponents

- working code example
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!