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 184275 - Too many form templates
Summary: Too many form templates
Status: RESOLVED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-15 13:04 UTC by Jaroslav Tulach
Modified: 2016-05-25 05:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Picture of the problem (28.98 KB, image/png)
2010-04-15 13:04 UTC, Jaroslav Tulach
Details
The .form files are still there (with no description) (50.50 KB, image/pjpeg)
2010-04-16 12:27 UTC, Jan Stola
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2010-04-15 13:04:49 UTC
Created attachment 97447 [details]
Picture of the problem

While working on bug 168669 I noticed that if java.kit is enabled, but form.kit is not (and ergonomics are on), then the list of GUI related templates is long. Each entry is duplicated (one for .java, one for .form).

The fix is to assign the <attr name="template" boolvalue="true"/> to .java files only, not to .form ones.
Comment 1 Jaroslav Tulach 2010-04-15 13:31:22 UTC

*** This bug has been marked as a duplicate of bug 183516 ***
Comment 2 Jan Stola 2010-04-16 12:26:26 UTC
This issue doesn't seem to be a duplicate of issue 183516 (that doesn't seem to be about templates at all) => reopening.
Comment 3 Jan Stola 2010-04-16 12:27:31 UTC
Created attachment 97521 [details]
The .form files are still there (with no description)
Comment 4 Jan Stola 2010-04-16 12:28:26 UTC
Yardo, the fix suggested by you doesn't work. When I remove
<attr name="template" boolvalue="true"/>
from the .form files then they still appear in the New File wizard. The only difference is that no Description is shown for them (when they are selected). See the attached screenshot.

So, do you have another suggestion how to fix the issue or is the described behaviour a problem of the New File wizard?