code: public void clearFields() {
  		this.requiredFields = NO_FIELDS;
  		this.optionalFields = NO_FIELDS;
  
  		this.textFields = Collections.emptyMap();
  
  		removeAll();
  		validate();
  	}
docs: Clears all the fields, leaving an empty panel.
  
  @since 2.7.0
  @see #setFields(String[])