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 190780

Summary: Add the ability to refactor out GUI components
Product: guibuilder Reporter: devon_c_miller <devon_c_miller>
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description devon_c_miller 2010-10-05 18:37:44 UTC
I'm remediating some ancient GUI code (circa NB4). The GUIs were constructed as single forms. The form file for one is over 10,000 lines of xml.

It would really help if I could select a component in the gui builder and have the option of refactoring it out to its own form.

Suppose a JTabbedPane, holding 8 tabs, each full of controls. I'd like to be able to select a tab, and be have the option of refactoring that tab to it's own tabX.form and tabX.java.

I realize there will be lots of cases that cannot be handled. But even if it just told me that it can't because "method x references field y", that would be a tremendous help.