I have JFrame with some components, and I'm trying to supply methods for
hiding\showing each component.
I set the visible of the component to false - witch make him indeed invisible,
and them I try to write pack for the frame, so it resize and fill the the free space with the component that left
but it's now happen and the place where the component was became empty.
Is there any simple solution for solving this issue?
thanks