Simple drawing in Java