Originally Posted by
ranjit2k99
Actually i want BorderLayout looking in control page load ( i.e on Menu3 button click) but by default ( for other pages ) Fitlayout,that's the problem .How to achieve that.
You can use CardLayout in Viewport with two cards: one card with the initial view and another with the grid view, the same as in my example.