• Post Reply Bookmark Topic Watch Topic
  • New Topic

Set size for JTable column headers  RSS feed

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you set a fixed size for JTable column headers? Meaning disallowing the
user to expand or reduce the size of table columns.

Thanks.
 
Rachel Swailes
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the solution I use..

http://www.javaalmanac.com/egs/javax.swing.table/LockCol.html

Cheers,
rachel
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!