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.
JDK 1.4.1, RedHat 7.3, NetBeans 3.4 I just used the update center to get the latest (2.13.1) Open APIs Support. When I use the New... template to create a new top component I get several errors. First I get I get a message: Warning - Form loaded with Errors Due to errors occurred when loading the form, some data could not be loaded. It is not recommended to use this form now - some data would be lost after saving the form. Please go though the reported errors, try to fix them, and open the form again. There are also several error dialogs all like: Error in loading component property [TopComponent]->formSize No such property exists in the component. The other dialogs complain about ->generateCenter, ->generateSize, ->generatePosition, ->formSizePolicy, and ->formPosition. It doesn't seem to cause a problem, and I don't see the errors if I close and open the form again.
Possible form compatibility problem? Would be nice if Form Editor developers could take a look at this. Of course it should not be hard to regenerate the form, but there might be a compat bug in the Form Editor that should be fixed.
TopComponent_form template file seems to be wrong. It is of JPanel type, but contains "synthetic" properties which only frame forms may have. Don't know how it could happen, but the fix is easy: delete whole <SyntheticProperties> element from the file. The reason this did not show up sooner is that form editor used to ignore such errors...
Easy enough to fix, though because of issue #29684 the Test Form action is broken for TC's.
committed Up-To-Date 1.2 apisupport/src/org/netbeans/modules/apisupport/resources/templates/Window_System_API/TopComponent_form
closed