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 73244 - Mispell form xml elements
Summary: Mispell form xml elements
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-05 04:17 UTC by _ viendu
Modified: 2007-08-06 15:00 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 _ viendu 2006-03-05 04:17:36 UTC
The compound border xml tag inside the form file is named as: "CompundBorder".

To produce this problem, add a JTextField to a JPanel, then set border to
Compound Border.  Next, save and open the .form file in a text editor.  You'll
see the tag is named as: "CompundBorder".  Maybe put a conditional in the import
code so old form would works too, however, when save, save in new form.
Comment 1 Jan Stola 2006-03-27 15:34:23 UTC
Congratulation, you have found more than 5 years old typo :-).

You are right, it should be easy to fix it even if we have to be
able to open the old forms with the typo.
Comment 2 Jan Stola 2007-08-06 15:00:47 UTC
Fixed.

Modified file:
/cvs/form/src/org/netbeans/modules/form/editors2/BorderEditor.java
new revision: 1.72; previous revision: 1.71