Simple Painting Program in JavaFX