Example for the Swing version. Main method in PdiTest.
(c) 2004 Peter Kliem