Bug 182428 - No copy the properties file
No copy the properties file
Status: RESOLVED WONTFIX
Product: guibuilder
Classification: Unclassified
Component: App Framework
6.x
All All
: P3 with 1 vote (vote)
: 7.0
Assigned To: issues@guibuilder
issues@guibuilder
: NO73
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-20 19:22 UTC by ale4349koc
Modified: 2013-06-19 11:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ale4349koc 2010-03-20 19:22:14 UTC
Product Version: NetBeans IDE Dev (Build 201002152000) 
Java: 1.6.0_18; Java HotSpot(TM) Client VM 16.0-b13 
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) 
Scenario:
1.	Create Java Desktop Application (Basic) project
2.	Add new Locale for DesktopApplication1AboutBox.properties file (“fr” or “ru” for example). We have now two Properties files: 
a.	DesktopApplication1AboutBox.properties
b.	DesktopApplication1AboutBox_fr.properties
3.	Create second Java Desktop Application (Basic) project
4.	Copy DesktopApplication1AboutBox.java program from first project to the second by Copy-Paste-Refactor Copy-Refactor

NB does the copy of 
	DesktopApplication1AboutBox.java
	DesktopApplication1AboutBox.properties
but does not the copy of DesktopApplication1AboutBox_fr.properties. The programmer must copy this file by Copy-Paste separately. If the project has few Locales (Multilanguage project), we need to Copy-Paste each properties file separately. The same problem exist for NetBeans 6.8 and for any Locale.
Comment 1 Jan Stola 2010-03-22 10:56:42 UTC
Reproducible. The root of this problem is probably the fact that there is no longer one DataObject for all locales of one properties files, i.e., there is a DataObject per locale => only one locale is copied.
Comment 2 Tomas Pavek 2013-06-19 11:55:06 UTC
This would require a fix in the Swing App Framework support which is no longer part of NetBeans.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo