I have a Java Swing application that contains a bunch of frames which in turn predominantly contains tables that display large amounts of data. Since it is always a hassle a
In this case, the obvious solution, java.util.prefs.Preferences, is probably the correct one. RCPrefs
from this game is a simple example that demonstrates saving a variety of data types, including enum
. The exact implementation is highly dependent on the application. While tedious, it needn't be especially complex. For expedience, the example uses static methods; frame and table preferences are probably worth a class each.