Newbie question with Netbeans: How do I get a component in a panel
I've made a class called PatternComponent that extends JComponent which draws some patterns and stuff that I specify. I've been using a very basic GUI that I threw together in eclipse, but I need to clean it up and I've decided that NetBeans is more apt for the job.
I've figured out how to get my buttons to work, but I can't find how to add my PatternComponent to the panel I want to stick it in.

