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 - Refactor (move) form containing custom visual beans
Summary: Refactor (move) form containing custom visual beans
Status: RESOLVED INVALID
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: boustanihani
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-30 10:59 UTC by boustanihani
Modified: 2008-01-02 13:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.