
Blue and gray ones are panels, green ones are scroll bars, blue ones are view areas, grey ones contain control buttons such as maximize, snapshot etc. So here is my problem: when users press one of the maximize buttons -for example upper left gridbagsizer's maximize button- components that other gridbagsizers hold must be hidden and the upper left one must cover the whole area. It must be something like that:

How can i do that? Thanks for your replies already...(sorry for the image sizes
