This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
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.