private void checkState()
  {
    boolean state = false ;
    String str = nameField.getText() ;
    if (str != null)
    {
      if (str.length() > 0)  // nameField ok
      {
        str = pathField.getText() ;
        if (str != null)
        {
          if (str.length() > 0)  // pathField ok
          {
            state = true ;
          }
        }
      }
    }

    this.setValid( state );
  }