i needs a frame with 5 panels.
i m using GridBagLayout as layout manager for my frame
One of my panel uses GridLayout.
One of my panel uses GridBagLayout.
Rest of the panels does'nt need any layuot(default,Flowlayout).
First i added 5 empty panels for correcting the location of each panel.i made a nice skeleton for adding the panels(positioning is over)
then i replaced temporary panels with 'original' panels.but when i add the panel which uses GridLayout,the propotion of frame changed undesirably.The same problom occured when i tried to add my gridbaglayout panel.
do i need to specify setSize() for each panel?.