Revision as of 08:58, 20 July 2011 by Ovrabec (Talk | contribs)

New And Noteworthy in NetBeans IDE 7.1


Java Editor

Inspect And Refactor

Brand new feature in NetBeans allows you to run selected java hint on selected project(s). You can create your own configurations (group of hints). Tasks like "Convert to JDK 7", "Remove System.outs" are now simplified.



New Refactorings


The Inline refactoring is added to the set of refactorings.

Inline Temp



Inline Method



Inline Constant



Introduce Parameter

Set of "Introduce..." refactorings is now complete with "Introduce Parameter"



Find Usages

More Scopes

You can choose two more scopes (Current File and Current Package) when using Find Usages.


To have more control over the Find Usages search scope, you can now specify a custom scope.


Tab Reuse

There is a new option to reuse Find Usages tabs.

Javadoc Highlighting and Formatting

Javadoc comments highlighting was improved as well as formatting.


Improved Change Method Parameters Refactoring

Rename Property

Rename Refactoring has option to rename getters and setters

GUI Builder

Gap Support in GridBagLayout Customizer

The redesigned GridBagLayout customizer now features Gap Support. With the new feature switched on the user can easily maintain gap columns/rows of specified width/height between components without any effort. There is no need any more to waste time by manually inserting fillers between components to create visually compelling layouts.


GridBagLayout Customizer Enhancements

The redesigned GridBagLayout customizer now features improved layout editing capabilities. Important component properties are now marked visually: insets (see jFormattedTextField1 and the slider), internal padding (see jTextField1 and JButton1), REMAINDER size (see right edge of jTextField1 and the slider).


Java EE


  • Generate interceptor for interceptor binding ( see issue 195412 ): editor popup menu "Insert Code..."


  • Decorator resolution : extended context for Inspect CDI action (for class element)


  • Interceptor resolution: extended context for Inspect CDI action (for class or method with interceptor bindings )




  • Code completion in EL offers Spring beans and their properties




  • Wizard for creating sample Timer SessionBean




  • code completion for table names, column names and pu names





Project System

--open-group, --close-group

You can now open and close project groups as the IDE starts, using new command-line options. As usual, --help gives details.


Find Usages

The Find Usages dialog will now show references to classes (or other types) from among artifacts in the local Maven repository. (If your user directory predates this feature you may need to reindex the local repository in the Maven Repository Browser tab.)

Generated test sources

Test source roots matching the pattern target/generated-test-sources/somedir are now included alongside src/test/java.

Also, special test source roots may be configured via build-helper-maven-plugin:add-test-source.

Code completion

The POM editor and a few dialogs offered completion on plugin goals, parameters, and similar information. Formerly this was based on a badly outdated static index; completion is now based on the regular repository indices.


Code completion

Code completion on tasks (and types) will display documentation from the Ant Manual when this add-on is installed.


Test Results window integration

"Show Test Failures" now displays results in the Test Results window as well as the Output Window.


You can now log in to a server without being prompted. This is useful especially for servers which have some private jobs that are hidden from anonymous users.



It is possible now to register a Versioning System via the @VersioningSystem.Registration annotation. See javadoc for more information.

Git Support Finalized

Complete Git Version Control support allows users to work with local clones as well as provides possibility to clone, fetch, pull or push remote repositories. See Git main page for more information.

Subversion Lock Feature

User actions allowing locking and unlocking files were added to the menu. It is also possible to enable on demand locking for files with svn:needs-lock property set.


Redesigned Changeset Picker Dialogs

Merge, Update, Revert and other similar dialogs were redesigned to be more user-friendly. It is now possible to filter display changesets, the changesets are labeled with tags or branch names if they have one and they are displayed in a list instead of a combo.


Basic support for branches and tags added. Projects are now labeled with a branch/tag name, it is possible to create branches or tags, close branches, manage tags and switch between branches

Platform & NetBeans Module Development

Window System

API: New WindowSystemListener to receive notifications before/after the window system loads/saves.

API: Support for multiple window layouts (aka perspectives or roles), see WindowManager.setRole(String)

Usability: Close/minimize/float/drag the whole window group.

Maven-based Apps

<this layer in context> and the Branding dialog now work directly on dependencies in the repository, so there is no need to do a build of your application before using these features. (The IDE will however download any required module JARs not yet in your local repository.)

XML Layer

New projects are now created without an XML layer, but there is now a New File wizard to add a layer to a project without one if you need it. (Many modules can do without an explicit layer, since Java annotations can produce common registrations such as menu items.)

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo