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 202088

Summary: Copy JPanel Causes Event Handler Method Code To Be Uneditable
Product: guibuilder Reporter: MackSix
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED FIXED    
Severity: normal CC: rov63rus
Priority: P4    
Version: 7.1   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:
Attachments: User code written to uneditable block when jpanel copied to other jframe.

Description MackSix 2011-09-13 21:19:49 UTC
Copying a JPanel with components from one JFrame to another JFrame or JPanel Form causes existing user code within the event handler method blocks to become uneditable.

Workaround: Delete the events from the components and add them again.

Product Version: NetBeans IDE Dev (Build 201109120600)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 1 MackSix 2011-09-13 23:36:32 UTC
Created attachment 110727 [details]
User code written to uneditable block when jpanel copied to other jframe.
Comment 2 Jan Stola 2011-10-01 15:53:19 UTC
Fixed by http://hg.netbeans.org/jet-main/rev/5763568c56d9
Comment 3 Jan Stola 2011-10-07 07:45:53 UTC
*** Bug 203273 has been marked as a duplicate of this bug. ***