I have a JPanel inserted into a JTabbedPane which is part of a JSplitPane. When I was sliding the splitter to minimize the JTabbedPane with the JPanel, some unexpected situation occurred. The JPanel slide outside the edge of the JInternalFrame where all the above components reside. Do anyone has any idea what the remedy? Thank you.