code: public void setWidth(String width) {
  
          try {
              m_width = Integer.parseInt(width);
          } catch (NumberFormatException e) {
              m_width = -1;
          }
      }
docs: Sets the width.<p>
  
  @param width the width to set