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.
Proposal: - Remove concept of Guarded Block - Allow users to modify the code generated by the form editor. Either add, remove lines or modify existing ones. - The form editor should be smart enough to parse the resulting code and understand how to visually lay it out. I believe VisualAge Java does this: you have a two-way form editor. It generates code for the user, the user modifies that code and it picks up those changes and reflects it in its view. I believe this is vital if we want to ease migration from Netbeans IDE to other IDEs and back and abolish the need for Netbeans-specific XML files or concepts. Swing layout code should work regardless of which IDE was used to build it and all IDEs should be smart enough to pick up that code and generate a view from it. This is mostly a usability and interoperability enhancement, but I suspect a lot of people would be interested in it. A similar approach could be applied to Ant project files: the IDE would be sophisticated enough to pick up changes in the code and work them into its view and vice versa (allow editing of the Ant code from its editor).
An example of the kinds of problems I run into because of "Guarded Code": http://www.javadesktop.org/forums/thread.jspa?messageID=49743쉏 This is a very simple example. How hard would it be to implement this enhancement? What issues would be involved? Thank you, Gili
Two way editing (in some form) is a highly requested feature. But still no plans to do it. It is a very complex task.
*** This issue has been marked as a duplicate of 35849 ***