A bunch of java gfx stuff