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 119495

Summary: templates/GUI - wrap variables decl in editor-fold tags
Product: guibuilder Reporter: devon_c_miller <devon_c_miller>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description devon_c_miller 2007-10-19 15:39:13 UTC
Change the variables section of the AWTForms and GUIForms templates from this:

    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables

to this:

    // Variables declaration - do not modify//<editor-fold defaultstate="collapsed" desc="Generated
Variables">//GEN-BEGIN:variables
    // End of variables declaration//</editor-fold>//GEN-END:variables


This will make the protected variables declaration collapse the same way as the initComponents section currently does.
This provides a more consistent presentation for the user as well as conserving screen real estate.
Comment 1 Jan Stola 2007-10-19 17:19:08 UTC

*** This issue has been marked as a duplicate of 59302 ***