Messing around with Java2D