hi
I want to resize the panel that is on the NORTH/Button1 (PAGE_START) of the Border layout.
how can I get broad panel?? Is it possible or not??

Edited 5 Years Ago by syeda amna: n/a

Its the full width of the window; just how broad did you want it to be?

i want to change the size of north panel according to my needs. I want to accomodate components properly. But due to smaller size of the panel some of components are not visible.

thanks for your replies.
I applied all these methods. By using setPrefferedSize the panel becomes broad but no component appearin it.

Also by using panel within a panel i have the same output.

pack() does nothing in my case.

please any help, why swing components do not appear??

This question has already been answered. Start a new discussion instead.