Framework for saving window positions, etc?
Alan White (Drum Score Editor)
alan at whiteware.org
Sat Apr 20 08:57:44 UTC 2019
Not sure it’s “best practise”, and to caveat further I’m still migrating my app from swing to jfx, so there may be better ways in the new world, but my approach was to use separate listener / adapters and store using the cross platform java preferences api. Often subclassing, so on create the stored preferences are applied. Ymmv.
> On 20 Apr 2019, at 07:00, Jason Shattu <jshattu at gmail.com> wrote:
> ------ Original Message ------
> From: "Andrew Munn" <munn7773 at gmail.com>
> To: openjfx-dev at openjdk.java.net
> Sent: 20/04/2019 01:35:31
> Subject: Framework for saving window positions, etc?
>> What are best practices for saving users' window positions, sizes, table
>> column order/width, etc so these things are restored on startup? Is there
>> a good framework for this or do you just roll your own?
More information about the openjfx-dev