This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[200503061900; jdk1.5.0_02-b07] 1.In Explorer select in popup menu New|File/Folder... 2.Select Java GUI Forms|Bean Form 3.Press Next 4.Type superclass e.g. javax.swing.JLabel 5.Press Finish butoon 6.In the source code there is the declaration as following (no superclass follows the extends keyword!): public class MyBeanForm extends {...
It seems to be a problem of ClassElement.setSuperclass() method. See org.netbeans.modules.form.wizard.TemplateWizardIterator:92. setSuperclass() is invoked with a correct identifier, but the superclass is not set (according to 'formClass.getSuperclass()' watch evaluated while staying on a breakpoint on the subsequent line).
Dan, please look at it.
/cvs/java/src/org/netbeans/modules/java/bridge/ClassElementImpl.java,v <-- ClassElementImpl.java new revision: 1.18; previous revision: 1.17
Verified in dev build #200503172015.