I'm on my first few chapters on learning Java Beans. I am using Netbeans 4.1 IDE which has a built in visual form designer. I wanted to create a custom Bean that extends JMenuItem and JMenu. I still don't understand how to do about with BeanInfo classes... All I just wanted is that my beans be displayed on the form designer.

Can you help me create my BeanInfo classes so that my JMenu Bean will be known to my IDE as a container delegate so I could add my custom JMenuItem Bean to it?... please help... thanks in advance!