code: public void setWidth(int width) {
  
          if (m_isFrame) {
              setParentWidth(width);
          } else {
              m_popup.setWidth(width);
              if (m_popup.isShowing()) {
                  m_popup.center();
              }
          }
      }
docs: Sets the popup width.<p>
  
  @param width the width