Example for the swt version. Main method in SwtPdiTest. Do not forget to include the swt dll in the java.library.path and the swt.jar, jface.jar and runtime.jar in the classpath.
(c) 2004 Peter Kliem