Resizing Swing Tabbed Pane with its parent JFrame form?

Thread Starter

spinnaker

Joined Oct 29, 2009
7,830
How do I resize a Swing Tabbed Pane when it parent JFrame resizes? It sizes by default horizontally OK but not vertically.

I have seen where I can add event code to cause the resize but an it be done by simply changing the properties in the Netbeans GUI designer?
 

Thread Starter

spinnaker

Joined Oct 29, 2009
7,830
Finally found the answer on the interweb. You need to first set the Layout of the jFrame to Border Layout from the Set Layout item on the frame in the Navigator panel.

upload_2017-10-31_15-59-49.png
 
Top