What's New in NetBeans Platform 6.9?

An overview of changes relating to NetBeans Platform 6.9, which is the Swing framework that underpins applications such as NetBeans IDE.

Note: Click here for the previous release of this document.

New Features

The following new features are provided for developers creating applications atop NetBeans Platform 6.9:

  • OSGi Interoperability. OSGi support for NetBeans Platform applications is provided in various flavors, making it possible to:
    • Create new OSGi bundles in NetBeans Platform applications.
    • Import OSGi bundles into NetBeans Platform applications.
    • Convert NetBeans Platform applications to OSGi bundles and run, debug, and profile them in the IDE.

    Furthermore, the OSGi interoperability focus in this release includes:

    • Bundled Felix container and experimental Equinox support.
    • New OSGi-based NetBeans Platform articles and tutorials.
  • Enhanced Support for Maven. Maven support for NetBeans Platform applications has been enhanced in the following ways:
    • New Maven NetBeans Module Suite project archetype added as a container project for a set of module projects.
    • UI support for setting public packages.
    • Annotation processing was fixed for Maven to support those NetBeans APIs using annotation generating sources and annotations referring to resources in bundles.
    • Maven-based CRUD sample.
    • New Maven-based NetBeans Platform articles and tutorials.
  • REST Client Support. Tools have been added to NetBeans IDE for quickly adding REST client support to NetBeans Platform applications.
  • Branding Editor. Right-click the application suite project (in the Ant case) or the branding module project (in the Maven case) and choose Branding. A Branding Editor opens, letting you brand icons, splash screen, window system, and all strings in the application.
  • Installer Generator. Right-click an application in the IDE and choose Properties to configure the generation of installers for the operating systems of your choice, in the new Installer tab. Close the Project Properties dialog and then right-click the project again and invoke Build Installers.
  • NetBeans Platform Samples. Several new samples are included in NetBeans IDE 6.9 to help newbies get started with various NetBeans Platform development.
    • CRUD sample
    • Facebook sample
    • Felix sample
    • Equinox sample

NetBeans API Enhancements

Read all of the changes here.

Other changes:


The Lookup classes have been moved into a separate module, named Lookup API. Therefore, all modules making use of Lookup need a new dependency on this new module. Also, dependencies on the Utilities API module, which previously contained the Lookup classes, need to be updated to the latest version.

For Ant-based NetBeans Platform applications, run this target for each module making use of Lookup-related classes:

ant fix-dependencies 

In the IDE, you can do the following to run the above Ant target: Important Files > Build Scripts (right click) > Run target > fix-dependencies

Also, instead of the above, you can simply add the Lookup API module to each module that makes use of the Lookup classes. For each module, right-click the module in NetBeans IDE, choose Properties, go to the Libraries panel, click Add Dependency, and then add the Lookup module. For the Utilities API module, you can remove it from the list of dependencies and then readd it to set the correct version of the dependency.

To achieve the above for Maven-based NetBeans Platform applications, you need to add the Lookup dependency to the POM of all modules that use Lookup:


For Maven-based applications, you also need to update the "platform" definition (from "platform11" to "platform") in the application module:


New Screencasts

Creating Applications on NetBeans Platform 6.9

Project Features

Project Links

About this Project

Platform was started in November 2009, is owned by Antonin Nebuzelsky, and has 149 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20160708.bf2ac18). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
Please Confirm