java/howtos/src/main/java/howto/Template.java
/*
 * To the extent possible under law, the ImageJ developers have waived
 * all copyright and related or neighboring rights to this tutorial code.
 *
 * See the Unlicense for details:
 *     https://unlicense.org/
 */

package howto;

import net.imagej.ImageJ;

/**
 * How to do X
 * @author YOURNAME
 */
public class Template {

	/**
	 * You can use the JavaDoc to add a note to the solution, if there is only one solution, you can also remove this
	 */
	public static void firstSolution() {

		// use comments to explain the code
		ImageJ ij = new ImageJ();

		// do something

		//print something to show that it worked, or show a result image, ...

	}

	/**
	 * .. this is another approach: (maybe explain in which situation to use which approach)
	 */
	public static void secondSolution() {

		// add your code here

	}

	public static void main(String...args) {
		firstSolution();
		secondSolution();
	}

}
