Update PrintApplet.java

add getPaperWidth method