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.
There shouldn`t be pack(); statement at the end of constructor of following templates: JDialog, JFrame, Dialog, Frame, Application, OKCancelDialog, MDIApplication. The property _Code Generation | form size policy_ doesn`t have sense because the pack(); statement overrides resize code at the end of initComponents method. Note: When you delete this pack(); statement you should set "Generate pack()" as a default value of _form size policy_ property.
*** Bug 6813 has been marked as a duplicate of this bug. ***
Priority is changed to P4 (normal).
Fixed in the open source trunk.
[Build 2012] 1. Pack() is still in the constructor of Frame and Dialog. 2. There should be form_size_policy set to Generate pack() in the JInternallFrame template.
Verified in Build 2013.
Resolved for 3.3.x or earlier, no new info since then -> closing.