Added some basic test classes and an example for Java2D/Swing