added basic java2d setup