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 124519

Summary: Refactor (move) form containing custom visual beans
Product: guibuilder Reporter: boustanihani <boustanihani>
Component: CodeAssignee: boustanihani <boustanihani>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description boustanihani 2007-12-30 10:59:13 UTC
Open a new form (JFrame for example...) , drag and drop some custom visual beans from different packages ... save and
close the form ... Then try to refactor (move) the form from one package to another ... The code is refactored correctly
.. even the generated code is refactored correctly ... but if u try to open the form it won't open ... because the form
file (*.form) was not refactored correctly. I discovered this bug when i was trying to reorganize my packages and move
classes frome one place to another. I hope this bug would be fixed soon. If u notice the same issue please write to me
... we could exchange experience: boustanihani@gmx.de
Comment 1 Jan Stola 2008-01-02 10:09:25 UTC
Could you, please, provide more details. It is not clear (from your description) what is wrong with the .form file. Did 
you move just the form or you moved also some of the visual beans (used by the form)? It would be great if you can 
provide some simple test case e.g. describe exact steps that lead to this problem. Thank you in advance.
Comment 2 Jan Stola 2008-01-02 13:36:10 UTC
The problem was caused by uncompiled class/bean renamed during refactoring. When the class was recompiled (or the whole 
project built) then it was possible to open the form => closing as a misunderstanding.