NetBeans Form Builder and using paintComponent method()?
Hello everyone. I'm a little new to NetBeans so forgive me if this is an easy question but for the life of me I can't seem to figure this out. Anyways, I'm trying to use the form builder in Netbeans and I want to include a JPanel and override the paintComponent method do so some drawing. So, If I include the Standard JPanel I'm not inheriting from it and can't override the paintComponent method. However, if I try and create a JavaBean class that inherits from JPanel and overrides the paintComponent method and add it to the palette... it is invisible when I go to add it to the form.
This is really stumping me as to how I can override the method and yet still use the Form Builder...
Any ideas? I also noticed you could add a AWT Canvas class but I'm confused. Why would you add a Canvas if you don't have the paint method()? Am I missing something obvious or what because it seems like too simple a task to be having such a big problem.
Thanks for your help in advance!