Programming bitmapped graphics with JavaFX