|
This post originated from an RSS feed registered with Java Buzz
by Scott Delap.
|
Original Post: Swing Tips 3 - Storing window states
Feed Title: ClientJava.com
Feed URL: http://www.clientjava.com/archives/wireless_mobile.rdf
Feed Description: Client/Desktop Related Java Development
|
Latest Java Buzz Posts
Latest Java Buzz Posts by Scott Delap
Latest Posts From ClientJava.com
|
|
I've used the preferences API myself for this exact situation. It just works which is nice for once.
Swing Tips 3 - Storing window states
This tip is less specific to Swing than it is a quick intro to the preferences api. This api has been around since 1.4, but hasn't seen all that much usage. I'm going to show a quick mechanism for having your windows remember their size, location and state.
Read: Swing Tips 3 - Storing window states