First time doing 2D graphics using Java