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 220655 - Java Source Code Format error
Summary: Java Source Code Format error
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-23 11:14 UTC by onurolce
Modified: 2012-10-25 12:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (103.81 KB, text/plain)
2012-10-23 11:14 UTC, onurolce
Details

Note You need to log in before you can comment on or make changes to this bug.
Description onurolce 2012-10-23 11:14:41 UTC
Product Version = NetBeans IDE 7.2 (Build 201207171143)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_07
Runtime = Java HotSpot(TM) Client VM 23.3-b01

In Java Swing, when you define an event in visual design  (for example : actionPerformed) it opens source editor and put automatically braces, it's OK. But if you don't write anything inside of this void and press to Alt+Shif+F then it deletes emptly line between braces and then DOES NOT allow to you write any code inside of them.
Comment 1 onurolce 2012-10-23 11:14:55 UTC
Created attachment 126386 [details]
IDE log
Comment 2 Marian Mirilovic 2012-10-25 12:47:08 UTC
Works for me in :
Product Version: NetBeans IDE Dev (Build 201210250001)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b03
System: Linux version 3.2.0-32-generic running on amd64; UTF-8; en_US (nb)