Update StaticDrawer.java

updated code after review