This is in NetBeans 6.5, Java 6. I have the following hierarchy in the NetBeans GUI Designer:
JFrame JTabbedPane JPanel X <...> ...