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 205398 - Wrong Locale Shown For "Design Locale" Property When Bundle File is Deleted
Summary: Wrong Locale Shown For "Design Locale" Property When Bundle File is Deleted
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 7.1
Hardware: PC All
: P4 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-22 01:45 UTC by MackSix
Modified: 2016-07-07 07:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project for test. (27.28 KB, application/zip)
2011-11-22 01:45 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2011-11-22 01:45:16 UTC
Created attachment 113393 [details]
Project for test.

1) Open attached Project.
2) Right click on Bundle.properties and choose Add>>Locale
3) Choose "cs_CZ - Czech / Czech Republic" from Predefined Locales and click OK.
4) Open up NewJFrame.java file in Editor - in Design Mode.
5) Highlight Form Root Node in Navigator and notice that the Design Locale combo box in Properties Tab shows correct locale.
6) Delete Bundle_cs_CZ.properties file in Projects window.
7) Look at Design Locale again from step #5 and notice it now shows the wrong locale "_cs_CZ" in combo box.

Expected: "default language" should show in Design Locale combo box, not "_cs_CZ".
Comment 1 MackSix 2011-11-22 01:46:53 UTC
Product Version: NetBeans IDE 7.1 RC1 (Build 201111171527)
Java: 1.7.0_01; Java HotSpot(TM) Client VM 21.1-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 2 Martin Balin 2016-07-07 07:16:47 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss