public void clearFields ( ) { this . requiredFields = NO_FIELDS ; this . optionalFields = NO_FIELDS ; this . textFields = Collections . emptyMap ( ) ; removeAll ( ) ; validate ( ) ; }
Clears all the fields leaving an empty panel .