Test Java2D graphics