my first paint application in java