• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TableLayout Issue

 
Russell Peters
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using TableLayout
as the Layout Manager for my swing application. My application had a fixed frame size, but now the users want to be able to expand the window size. When I do that, all the other components like JTables and JButtons etc don't expand accordingly.

How would I make sure, that all the components within would also resize when I resize the window? Currently they retain the size and I get extra gray space between the components and the window edges, when I increase the size of the window.

Thanks,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic