Remove dependency on SwingPreferences.
Merge pull request #159 from kruland2607/master

Remove dependency on SwingPreferences.