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,