Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 654 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 654 Bytes

Konfig

A Java Library for saving Frame Location, Size and Title.

How to use

Simply add the dependency to your pom file

Maven

<dependency>
  <groupId>com.k33ptoo</groupId>
  <artifactId>Konfig</artifactId>
  <version>1.0</version>
</dependency>

To save the settings use the code below in your frame or class constructor.

com.k33ptoo.Konfig.saveKonfigurations(/*your frames or components*/);

Settings will be saved on window close and restored when the window is opened.

The following will be saved:

  • Size
  • Location
  • Title

To clear configurations, call

com.k33ptoo.Konfig.clearKonfigurations();