This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

TableLayout Issue  RSS feed

 
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
Boost this thread!