Search code examples
javaswingpreferences

Java Preference Manager


I started implementing a solution for myself to manage user/application preferences, but then thought to myself there has to be a solution out there already. I started looking and found the JFace API. I got excited, but then noticed it is designed to work with SWT. My application is written using Swing. I tried looking for a similar solution for Swing, but have not had any luck.

I'm looking for the equivalent of JFace for Swing (if that exists).

Is there a solution out there for managing preferences like JFace in Swing?


Solution

  • I looked for a while, but was unable to find a preference manager similar to the JFace implementation. So, I ended up creating my own library that originally partially implemented interfaces in the JFace preferences library, but since has deviated.

    The library is called jpreferences and is hosted on Github.

    EDIT: Go figure, when I tried creating a SourceForge project named jpreferences there was a project already by that name. If only I had thought to search for jpreferences instead of preference manager. Oh well, now anyone looking for what I was looking for has more choices.