Update canvas.java

test