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 70508 - Font&Colors|Syntax: 'Delete' instead of restore after IDE restart
Summary: Font&Colors|Syntax: 'Delete' instead of restore after IDE restart
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2005-12-16 14:19 UTC by Max Sauer
Modified: 2007-11-05 13:40 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 Max Sauer 2005-12-16 14:19:56 UTC
After switching Fonts&Colors profile to CityLights and having the IDE restarted,
the Restore button's label changes from 'Restore' to 'Delete'. However, it's
functionality is not affected (works as Restore anyway).

Steps to reproduce:
-------------------
1) Start IDE with fresh userdir
2) Open a j2se project
3) Invoke Tools|Options|Fonts&Colors|Syntax
4) Switch profile to CityLights
5) Confirm Options
6) Restart the IDE
7) Invoke Tools|Options|Fonts&Colors|Syntax again
--> Label has changed.

[5.0 200512152030 && 5.1 200512151900, JDK 1.6.0 rc b62, solaris 10/sparc]
Comment 1 Jan Jancura 2005-12-22 15:10:39 UTC
Reproducible.
Comment 2 Daniel Prusa 2006-04-06 15:34:39 UTC
Fixed in trunk.

/cvs/editor/options/src/org/netbeans/modules/options/colors/FontAndColorsPanel.java
new revision: 1.23; previous revision: 1.22
Comment 3 Max Sauer 2006-04-20 12:54:15 UTC
Verified in 
NetBeans IDE Dev (Build 200604191800)
1.6.0-beta2; Java HotSpot(TM) Client VM 1.6.0-beta2-b76
SunOS version 5.10 running on sparc
en (nb); ISO646-US

Thanks Dane.