Paint app made in Java