Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Ways to restore a JavaFx app to prev state when starting

KevinPasOct 7 2013 — edited Oct 8 2013

Usually what I do is write everything to xml when closing and then when the app restarts I read that xml to set everything up as before.

Is there a newer, more Java FX way?

xml is nice because you can edit it in a text editor and it is relatively readable.  I've never liked object streaming because it doesn't seem to age well.  But I might be out of date.  Database is too bulky to install.  But I've never tried an embedded db.

Thanks,

This post has been answered by jsmith on Oct 8 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 5 2013
Added on Oct 7 2013
3 comments
711 views