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 213405

Summary: Copy/Paste of Internationalized Components Into Another Project Fails
Product: guibuilder Reporter: MackSix
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:

Description MackSix 2012-06-01 16:33:11 UTC
Components from one project with Internationalization are not refactored when copy & pasted into form of another project. The guarded block in the destination project form still reference bundle file from other project without any error messages unless file/project is run.

If the text is changed on the component, the bundle.properties file is updated i the other project unless the projects/Netbeans is closed and reopened. Then if the text is changed on component in the destination project, a bundle.properties file is created.

A workaround would be close projects/Netbeans and then reopen destination project. Change text on button.

Product Version: NetBeans IDE Dev (Build 201206010001)
Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 1 MackSix 2012-06-01 16:37:27 UTC
I guess the workaround is not such a great workaround because it leaves you with a project that has Internationalized components and components without Internationalization. The project is not automatic Internationalization either.