Skip to main content

Developing ImageJ in NetBeans

This article explains how to install and configure NetBeans for use with ImageJ development. Directions correspond to NetBeans 7.0.1, and may need adjustment for other versions.

 

Install and configure NetBeans

 

Check out ImageJ

  1. Choose Team > Subversion > Checkout from the NetBeans menu
  2. For the Repository URL, enter: http://code.imagej.net/svn/imagej/trunk
  3. Click Next, then Finish
  4. When prompted, click Open Project
  5. Select the "ImageJ Projects" project in the tree
  6. Right-click the "ImageJ Projects" project and choose Build

You may receive a warning about Maven when building the project. It is not required, but if you wish to eliminate it, you can install Maven from the Maven web site.

 

Launch the program

  1. Expand the "ImageJ Projects" project, then "Modules"
  2. Expand the "ImageJ POM: User Interface" module
  3. Double-click the "ImageJ Application" project to open it
  4. Right-click the "ImageJ Application" project and choose "Run"
  5. On the Main Class dialog, choose "imagej.Main"