Hi Mohamed,

On Mon, 24 Jun 2013, Mohamed Tleis wrote:

> ImageJ ij = new ImageJ.Main.launch();

As I said, this is not the correct way to launch ImageJ.

First of all, ImageJ.Main.launch is not a class, therefore you cannot
instantiate it with "new". Second, the correct call to obtain an ImageJ
context is:

        final ImageJ ij = new ImageJ();

Please have a look at the examples Curtis put so much TLC and effort into:

        https://github.com/imagej/imagej-tutorials/

Ciao,
Johannes

_______________________________________________
ImageJ-devel mailing list
[email protected]
http://imagej.net/mailman/listinfo/imagej-devel

Reply via email to