If you have a Java desktop application, what is the best way to store window-related settings like window position, window state (maximized, ...), ...
Thanks!
If you have a Java desktop application, what is the best way to store window-related settings like window position, window state (maximized, ...), ...
Thanks!
Have you looked at the Java Preferences API? It's the first thing that comes to mind.
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.