Key

This line was added.

This line was removed.

Formatting was changed.

...

Note: This is not (NOT!) the run() method from the java.lang.Runnable interface. Nor is this codified as an interface in the IzPack javadoc. Instead, this would seem to be a magic method signature that is otherwise undocumented.

a. Contents of a minimal file that matches the requirements:

Code Block

title

a. Contents of a minimal file that matches the requirements:

language

java

package org.callimachusproject;

...

import com.izforge.izpack.util.*;

...

public class HelloWorld {

...

public void run(AbstractUIProcessHandler handler, String[] args) {

...

handler.logOutput("Hello, World!", false);

...

}

...

}

This class uses the com.izforge.izpack.util.AbstractUIProcessHandlerclass to log output into a calling ProcessPanel. See the IzPack javadoc for details.

...

You will obviously need to include their the standalone-compiler.jar on your classpath, in order to compile your class: