Issues with updating a canvas in Java

Printable View