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 98670 - Trunk vs promoH - promoh cannot read "color" property value for the border
Summary: Trunk vs promoH - promoh cannot read "color" property value for the border
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 15:27 UTC by Jana Maleckova
Modified: 2007-04-05 15:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
98670 (4.39 KB, text/plain)
2007-03-22 15:28 UTC, Jana Maleckova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2007-03-22 15:27:24 UTC
trunk - NetBeans IDE Dev (Build 200703211900)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252
promoH - 070319

Description:
============
have form with jPanel. Set TitledBoarder for jPanel and change font color.
This form is not possible to open in promoH.

StackTrace:
===========
java.io.IOException
	at
org.netbeans.modules.form.RADConnectionPropertyEditor.readFromXML(RADConnectionPropertyEditor.java:539)
	at
org.netbeans.modules.form.editors2.BorderEditor.readProperty(BorderEditor.java:654)
	at
org.netbeans.modules.form.editors2.BorderEditor.readTitledBorder(BorderEditor.java:793)
Comment 1 Jana Maleckova 2007-03-22 15:28:05 UTC
Created attachment 39817 [details]
98670
Comment 2 Jana Maleckova 2007-04-03 10:33:05 UTC
NetBeans IDE Dev (Build 070402)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Description:
============
Set color in border editor is not saved in form file (Current branch build).
Code is generated correctly in source but form file doesn't contain any info
about it and when form is reopened, then component's border has it's default color.
Comment 3 Tomas Pavek 2007-04-03 17:44:45 UTC
Fixed.

/cvs/form/src/org/netbeans/modules/form/Attic/ResourceWrapperEditor.java
new revision: 1.1.2.7; previous revision: 1.1.2.6
/cvs/form/src/org/netbeans/modules/form/editors2/BorderEditor.java
new revision: 1.69.2.2; previous revision: 1.69.2.1
/cvs/form/src/org/netbeans/modules/form/editors2/IconEditor.java
new revision: 1.32.4.5; previous revision: 1.32.4.4
/cvs/form/src/org/netbeans/modules/form/editors2/FontEditor.java
new revision: 1.7.6.6; previous revision: 1.7.6.5
Comment 4 Jana Maleckova 2007-04-05 15:12:04 UTC
Tested on 
NetBeans IDE Dev (Build 070405)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

it's OK