I have a jDialog with a splitter inside it.
One side has a tree while the other side has a frame. Whenever I use setVisible(false) to hide the frame, the splitter resizes to filled the entire screen with the tree.
Is there anyway to keep the tree side of the splitter the same size whether the frame is hidden or not?