i have a panel consisting of buttons and on clicking a button i open an internal
frame in place of this button panel and when i close the internal frame the
panel doesnt go back to its original shape, instead it resizes itself to
the shape of the internal frame. how can i get my panel to its original shape.