• Post Reply Bookmark Topic Watch Topic
  • New Topic

Resize column width for JTable with headers?  RSS feed

 
david zhang
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I find that for me to resize columns of a JTable by using
mouse dragging, I MUST have column headers and then drag
column headers to resize them. Is my understanding correct?
Actually, I need to have a table without header columns.
How can I use mouse to resize column width by dragging?
The background for this request is that I am putting a
complex table as another table's column header and I hope to
be able to resizing the complex table by mouse dragging.
Thanks very much,
David
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!