This is a small and compact library preferences utility library to (mostly) keep preferences for Java/Swing components. The idea is to provide, as easily as possible, a way to "remember" where windows, frames and other GUI components (i.e. dividers) between runs of an application.
- Preference support for size and locations of
JFrames
. - Preference support for dividers in
JSplitPane
. - Registers preferences in your own name space and app to avoid name collisions.
In your pom.xml
file add the below or look here:
<dependency>
<groupId>com.zensols.gui</groupId>
<artifactId>pref</artifactId>
<version>0.0.2</version>
</dependency>
public class MyFrame extends com.zensols.gui.pref.PrefFrame {
public class MyFrame() {
super("optionConfigFrame");
}
...
}
More documentation:
Copyright © 2016 Paul Landes
GNU Lesser General Public License, Version 3.0