I am working with a Java Swing GUI. I have a JMenuBar on the main JFrame with JMenus and JMenuItems. Directly below this menu bar I have a JTabbedPane. When I expand the menus in the Main Menu the bottom menu items disappear behind the JTabbedPane when the first tab in the JTabbedPane is selected. When the second tab in the JTabbedPane is selected everything is fine. How do I fix this?