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 212785

Summary: Copying class between two project - empty
Product: guibuilder Reporter: asenk
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal CC: MackSix
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description asenk 2012-05-21 13:46:04 UTC
Product Version: NetBeans IDE Dev (Build 201205200400)
Java: 1.7.0_04; Java HotSpot(TM) Client VM 23.0-b21
System: Linux version 3.2.0-24-generic-pae running on i386; UTF-8; en_US (nb)

Start IDE with clear userdir. Create 2 new projects Java Application (e.g.  MyApplication1 and MyApplication2). In MyApplication1 create new JFrame Form. 

 1) Add some Swing components into form.
 2) Check Automatic internalization in JFrame Form properties. The file is created
 3) Copy the form file and paste it into MyApplication2
 4) Refactor 

RESULT: The Form file is copied and refactored, the is created, BUT is empty. There are no properties defined in this file. It is impossible to run JFrame.
Comment 1 Tomas Pavek 2012-05-21 15:02:13 UTC
See also bug 211775.