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 182428

Summary: No copy the properties file
Product: guibuilder Reporter: ale4349koc <ale4349koc>
Component: App FrameworkAssignee: issues@guibuilder <issues>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.