Why is Java Swing serializable?

前端 未结 2 1402
天命终不由人
天命终不由人 2021-01-18 01:48

When I create Swing apps for remote users, I just create jar files and create a WebStart file to let users download the app and then run it. I haven\'t heard of application

2条回答
  •  萌比男神i
    2021-01-18 02:15

    Persistence.

    If you want to have nothing other than the UI you could persist it to disk and then restore it the next time the program is run.

    It'd come back up with everything exactly as you left it.

    No fancy stuff required.

提交回复
热议问题