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.

[417 byte] By [Amabluea] at [2007-11-27 10:48:09]
# 1

This is not a Netbeans forum.

camickra at 2007-7-28 22:24:46 > top of Java-index,Desktop,Core GUI APIs...