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 192639 - Formatting newly created Swing Classes produces syntax errors
Summary: Formatting newly created Swing Classes produces syntax errors
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 7.0
Hardware: PC Linux
: P1 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-29 15:32 UTC by areeda
Modified: 2010-12-01 06:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Zip of screen shots and editor options (100.79 KB, application/zip)
2010-11-29 15:32 UTC, areeda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description areeda 2010-11-29 15:32:52 UTC
Created attachment 103436 [details]
Zip of screen shots and editor options

See attached images.

To reproduce right click on a Java package, select New, JDialog class, use defaults.

Hit Shift-Alt-F or Source->Format.

Note all the red !'s and badly mangled code.

I've also attached my exported editor options.
Comment 1 Dusan Balek 2010-11-30 14:30:45 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/94c6f08a445c
Comment 2 Quality Engineering 2010-12-01 06:37:27 UTC
Integrated into 'main-golden', will be available in build *201012010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/94c6f08a445c
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #192639: Formatting newly created Swing Classes produces syntax errors - fixed.