my dog learned polymorphism
The moose likes Swing / AWT / SWT and the fly likes TableLayout Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "TableLayout Issue " Watch "TableLayout Issue " New topic

TableLayout Issue

Russell Peters
Ranch Hand

Joined: Jan 25, 2006
Posts: 50
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.


SCJP 1.4
I agree. Here's the link:
subject: TableLayout Issue
It's not a secret anymore!