ca.ucalgary.util
Class SingletonApplication
java.lang.Object
ca.ucalgary.util.SingletonApplication
public class SingletonApplication
- extends Object
Utility to launch a Java application if not running, or pass a new file for
opening if the app is already open (per user). To use this class, call it as your
main class, and pass the real main class name as the first argument. Subsequent
arguments are passed to the real main class's main(argv) method.
SingletonApplication
public SingletonApplication()
main
public static void main(String[] args)
setArgumentListener
public static void setArgumentListener(ArgumentListener al)
- This method should be called by the main() method of the target application.
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010