Sort state

Top  Previous  Next

 

SortTableModel contains a method for retrieving the sort state as a string:

 

public String getSortStatesAsString();

 

A string can also be used to load the sort states:

 

public void setSortStatesAsString(String state);

 

Note: In your application, you could write the sort state string to a file when exiting and load it upon initialization.