clamp
clamp

Reputation: 34016

Best way to define custom settings for desktop-application?

If you have a Java desktop application, what is the best way to store window-related settings like window position, window state (maximized, ...), ...

Thanks!

Upvotes: 2

Views: 250

Answers (2)

Mark
Mark

Reputation: 29119

This was one of the problems the Swing Application Framework was going to solve (see the section on session state). However, that project has stopped though there is a fork called Better Swing Application Framework that is still under development.

Upvotes: 1

Jon Skeet
Jon Skeet

Reputation: 1500535

Have you looked at the Java Preferences API? It's the first thing that comes to mind.

Upvotes: 4

Related Questions