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.
Product Version = NetBeans IDE 7.4 (Build 201310111528) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.7.0_40 Runtime = Java HotSpot(TM) Client VM 24.0-b56 This is creating a mess in the class. The declarations must be at the beginning of the class before all methods.
By default NetBeans inserts new members at the caret location (or the first valid location below). You can change this in Tools->Options->Editor->Formatting->Java->Ordering
That's not true. Default sort order is Fields above Methods. This is not being abided by when inserting a field.
(In reply to ajeh from comment #2) > That's not true. > Default sort order is Fields above Methods. That is true, but there is separate option for inserting new members.
Is your ultimate goal to make NetBeans as user-unfriendly as possible then? The choice of default is the absolute worst.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss