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 54539 - Confusing fold when form created
Summary: Confusing fold when form created
Status: CLOSED WONTFIX
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: UI, USABILITY
Depends on:
Blocks:
 
Reported: 2005-02-04 10:43 UTC by Milan Kubec
Modified: 2005-08-02 11:48 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 Milan Kubec 2005-02-04 10:43:38 UTC
[dev-200502021900, JDK 1.4.2_07]

When form file is generated user can see rectangle
in the source code with title 'Generated code'.
And user also can see that there should be method
'initComponents()' somewhere defined if it's
called in the constructor but cannot find it. IMO
the method name 'initComponents()' should not be
hidden by default since it can create confusion
for nonexperienced users. It saves 2 lines of code
but possible creates confusion.
Comment 1 Jan Stola 2005-02-04 13:10:26 UTC
The user can find the initComponents() method by 'Go To Source' action.
The guarded block sometimes doesn't contain only initComponents()
method. It can contain for example source code for a class that 
implements listeners in the form.
The current state has been agreed by UI guys => marking as won't fix.
Comment 2 Milan Kubec 2005-08-02 11:48:36 UTC
Closing.