title: Add a JPanel to a JFrame in NetBeans designer
body: <p>I have a JFrame with some components made in NetBeans gui designer. One of the components is a JPanel. How do i set that JPanel to another class that extends JPanel (and then draw to the panel from that class)?</p>