code: public void setPropertiesField(Field fldProperties)
      {
          if (fldProperties != null)
          {
              m_fldProperties = (PropertiesField)fldProperties;
              this.loadFieldProperties();
              this.addListener(new FileListener(null)
              {
                  public void setOwner(ListenerOwner owner)
                  {
                      if (owner == null)
                          if (this.getOwner() != null)
                              ((PropertiesInput)PropertiesInput.this).restoreFieldProperties();
                      super.setOwner(owner);
                  }
              });
          }
      }
docs: SetPropertiesField Method.