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.
GUI Builder after 7.0.1 update has a fixed indentation of 4 spaces for initComponents() and variable declaration. The indentation for event code, however, is correct (2 spaces in my case).
Product Version: NetBeans IDE Dev (Build 201109141017) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17 System: Linux version 2.6.38-11-generic running on i386; UTF-8; en_US (nb) Steps to reproduce: 1. Tools->Options->Editor->Formating 2. Number of Spaces per Ident: 2 3. Create new JFrame Form and and some components. This is "Incorrect behavior that doesn't affect functionality" -> P4
Fixed in: Product Version: NetBeans IDE Dev (Build 201203230400) Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)