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 81054

Summary: It is impossible to change the name or package (refactor) a class that has been build with Matisse editor
Product: guibuilder Reporter: sbrunot <sbrunot>
Component: Natural LayoutAssignee: issues@guibuilder <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Sample try to change the name of a JPanel that is included in another form build with Matisse.

Description sbrunot 2006-07-25 11:08:57 UTC
When one try to refactor (change name or package of) a "visual" class (JFrame or
JPanel) which content has been edited with the Matisse GUI Builder, it gets a
warning message (informing that code under Guarded Blocs cannot be refactored
!). If one apply the refactoring, the visual class can no longer be edited with
Matisse.
Comment 1 sbrunot 2006-07-25 11:10:21 UTC
Created attachment 32173 [details]
Sample try to change the name of a JPanel that is included in another form build with Matisse.
Comment 2 Jan Stola 2008-03-28 14:27:07 UTC
This has been already fixed, see http://wiki.netbeans.org/GUIBuilderRefactoring for details.