saveApplicationState() Saves off preferences and all state present in the application.
public void
savePreferences(PreferenceType preferenceType) Persists the specified category of preferences to file if the user has
the "always save preferences immediately" preference checked.
Parameters: preferenceType - the enumerated type that indicates what categoryof preferences to be persisted.
Persists the specified category of preferences to file if the user has
the "always save preferences immediately" preference checked.
Parameters: preferenceType - the enumerated type that indicates what categoryof preferences to be persisted.