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 67252 - Option to select User Java GUI Form works partially
Summary: Option to select User Java GUI Form works partially
Status: RESOLVED WONTFIX
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All Windows ME/2000
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-21 01:04 UTC by mklos
Modified: 2005-10-26 14:35 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 mklos 2005-10-21 01:04:35 UTC
My group wants to standardized on source code headers to be able to use CVS tags
as well as NetBeans tags (__NAME__ for example).  

When I tried to change a form from Default to User, only the .java file was
created in the local 'config' directory, but not the .form file. 

Here is a detailed scenario. 
Make JPanel templates local.
*Access the template setting is accessed as follow:
Tools/Options/Source Creation.../Templates/Java GUI Forms/JPanel Form
* Then select the '...' column to expose User-Default columns.
* Then select JPanel Form/User/Define Here
* Then, on the right-hand side of the panel, select Properties/AllFiles/...
* The popup dialog shows that JPanel.java file has been moved to 
  "C:\Documents and
Settings\<user>\.netbeans\4.1\config\Templates\GUIForms\JPanel.java"
but the corresponding .form file has not been moved.  Both files should have
become local templates.
Comment 1 Tomas Stupka 2005-10-26 14:35:15 UTC
since NB5 are templates modified and copied via Tools/Templates manager/... ,
and it is no more possible to create user templates at all.

I couldn't reproduce the described problem by trying to duplicate a template in
 Template manager, so it seems to work there.

in this context i fixed a bug in editing .form templates

Checking in ClassPathUtils.java;
/cvs/form/src/org/netbeans/modules/form/project/ClassPathUtils.java,v  <-- 
ClassPathUtils.java
new revision: 1.17; previous revision: 1.16
done