Apache NetBeans 9.0 Alpha is the application framework beneath NetBeans IDE and many other Java desktop applications, such as these:
PPMC vote result:
IPMC vote result:
Location of Distribution
Trying it out
Take the steps below to try Apache NetBeans (incubating) 9.0 Alpha.
- Download incubating-netbeans-platform-9.0-alpha-bin.zip and incubating-netbeans-platform-9.0-alpha-source.zip from the above location.
Note: Unzip the "bin.zip", but do not unzip the "source.zip". The "bin.zip" is the NetBeans Platform binary that you will run in step 5, while the "source.zip" will enable you to debug into the sources of the NetBeans Platform and navigate into it from the Java editor in NetBeans IDE.
- Open NetBeans IDE 8.2 or Apache NetBeans (incubating) 9.0 Beta, once it is available.
- Register the unzipped "bin.zip" and the zipped "source.zip" by going to Tools | NetBeans Platforms, choosing "Add Platform", and navigating to the unzipped "bin.zip". Click Next and enter "Apache NetBeans Platform" and click Finish. In the Sources tab, browse to the "source.zip".
You have now registered Apache NetBeans (incubating) 9.0 Alpha in NetBeans IDE. In the next section, you'll create a new application on top of Apache NetBeans (incubating) 9.0 Alpha.
Creating an application on top of Apache NetBeans (incubating) 9.0 Alpha
- Open the New Project window (Ctrl-Shift-N), go to NetBeans Modules | NetBeans Platform Application and create a new application, named for example "application1", and make sure to select "Apache NetBeans Platform" in the "NetBeans Platform" drop-down box, as shown below:
- Run the application and you should see this, i.e., an empty NetBeans Platform application:
- Go to to the Window menu and open some windows, e.g., Window | Output and Window | IDE Tools | Properties:
- Optionally, add a new module (via the New Project window) with a new TopComponent (via the New File dialog), e.g., an Editor window, and you'll see this:
- Hold down the control key over the TopComponent class signature, i.e., "extends TopComponent" should be the class signature of your TopComponent. You'll see javadoc and you'll be able to click with your mouse into the sources from the "source.zip" registered in step 3 above. Set a breakpoint on the class signature, start a debug session, and you'll be able to debug into the "sources.zip" that you registered in step 3 above.