Affects Version/s: current
Fix Version/s: None
Operating System: Windows 2000
After developing one screensaver, which had a lot of options (for a
screensaver), I found I had to write quite a bit of boilerplate to turn my
options (or "properties") into the data types I wanted (int, float, etc.). It'd
be great not to have to do this.
One idea I'd like to suggest is for screensavers to be provided with a
screensaver-specific implementation of java.util.prefs.Preferences
This would be a non-proprietary, J2SE-compliant solution (no new interfaces!)
having all the methods that would be needed by a screensaver. It would also
obviate the need for the ScreensaverSettings class, the interface of which
currently has methods that reveal too much about the underlying implementation
(i.e. xscreensaver configuration through command-line options).