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.

Bug 71014 - Non-visual forms not working
Summary: Non-visual forms not working
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2006-01-04 19:06 UTC by Tomas Pavek
Modified: 2006-01-06 10:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Pavek 2006-01-04 19:06:11 UTC
The scenario: Editing visual containers in non-visual form does not work (due to
exceptions). E.g. create a bean form based on java.lang.Object. Creation fails
on exception - palette does not appear. Switching on another opened form and
back helps. But adding a panel leads to another exception. Showing the panel in
designer works somehow, but adding component to panel leads to exception in
selection painting. I think I don't need to attach all these exceptions here ;)
This scenario should work.

The problem is that the new layout support is not initialized for non-visual forms.
Comment 1 Tomas Pavek 2006-01-05 10:37:03 UTC
Fixed in trunk.

Diff:
http://form.netbeans.org/servlets/ReadMsg?list=cvs&msgNo=3501
Comment 2 Tomas Pavek 2006-01-05 15:36:36 UTC
And also:
http://form.netbeans.org/servlets/ReadMsg?list=cvs&msgNo=3504
Comment 3 Jan Stola 2006-01-05 16:08:22 UTC
I have reviewed the fix and it seems to solve the issue correctly.
Comment 4 Marek Grummich 2006-01-06 09:54:25 UTC
Verified in the build 200601051900 (trunk).
Comment 5 Tomas Pavek 2006-01-06 10:26:20 UTC
Fixed also in 5.0.

/cvs/form/src/org/netbeans/modules/form/FormDesigner.java
new revision: 1.172.2.2; previous revision: 1.172.2.1
/cvs/form/src/org/netbeans/modules/form/FormEditorSupport.java
new revision: 1.191.2.3; previous revision: 1.191.2.2
/cvs/form/src/org/netbeans/modules/form/FormModel.java
new revision: 1.63.2.1; previous revision: 1.63
/cvs/form/src/org/netbeans/modules/form/GandalfPersistenceManager.java
new revision: 1.156.2.2; previous revision: 1.156.2.1
/cvs/form/src/org/netbeans/modules/form/HandleLayer.java
new revision: 1.133.2.1; previous revision: 1.133