• Post Reply Bookmark Topic Watch Topic
  • New Topic

dynamic JTable width (not column,table)

 
Gulsum Ramazanoglu
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi people again me;
I couldnt find anything that I can use to change the width of a JTable object dynamically during run time.. I dont want to change the columns width, I want to be able to put my cursor on the right/left border of the table and drag widen it... then the columns will get widen as well...
Is there a way of doing this?
Thank you all
 
Gulsum Ramazanoglu
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
..and I dont mean the JTable object with the same size with the JFrame object..then you can drag the frame and widen the table as well.. but if the table size is less than that of the frame, THEN how?
Thanks..
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSplitPane
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!