Jskad/source/org/thdl/util
dchandler 08e4e2fc57 Added a flexible mechanism for persistent boolean-, integer-, and
string-valued preferences built atop java.util.Properties.

How it works: the jvm is asked first, and then the user's prefs file, if it exists,
then the system-wide prefs file, and then the built-in preferences.  Finally, for
robustness, a default may be optionally hard-coded in the source.

I made several things configurable, too:

the default Tibetan keyboard
the default font sizes and faces
whether you want developer-only features enabled
Savant's file extension (.savant)
etc.

The only known problems are the following:

The default location for the user's preferences file is windows-specific,
arbitrary, and not in the user documentation.  Likewise for the location of the
system-wide preferences file.  You can change them using 'java -D', though.

There is no "Save preferences" option yet, and closing the program does
not save preferences either.
2002-10-14 04:06:05 +00:00
..
.cvsignore Now ignoring Emacs backup files *~ 2002-09-28 14:36:27 +00:00
AllTests.java Added an unchecked exception that I find useful for marking code that the developer thinks will not cause an exception. 2002-09-28 14:38:59 +00:00
package.html Added Javadoc files overview.html and several package.html files. 2002-10-06 18:23:27 +00:00
RTFPane.java These classes contain the code that brings up the "About" and "Help" 2002-10-13 20:40:24 +00:00
SimpleFrame.java These classes contain the code that brings up the "About" and "Help" 2002-10-13 20:40:24 +00:00
StatusBar.java Added a class representing a GUI element, a status bar. 2002-10-13 19:19:47 +00:00
TeeStream.java Added Javadoc files overview.html and several package.html files. 2002-10-06 18:23:27 +00:00
ThdlAbstractAction.java Added Javadoc files overview.html and several package.html files. 2002-10-06 18:23:27 +00:00
ThdlActionListener.java Added Javadoc files overview.html and several package.html files. 2002-10-06 18:23:27 +00:00
ThdlDebug.java Added a flexible mechanism for persistent boolean-, integer-, and 2002-10-14 04:06:05 +00:00
ThdlLazyException.java Added an unchecked exception that I find useful for marking code that the developer thinks will not cause an exception. 2002-09-28 14:38:59 +00:00
ThdlLazyExceptionTest.java Added an unchecked exception that I find useful for marking code that the developer thinks will not cause an exception. 2002-09-28 14:38:59 +00:00
ThdlOptions.java Added a flexible mechanism for persistent boolean-, integer-, and 2002-10-14 04:06:05 +00:00