Basic implementation of save/selection in swing application.