A simple paint program made in java