2021年3月24日星期三

How to save a Java Swing Application and resume it like a Microsoft Word Application after a double-click? [closed]

This is a very troubling question for me, while learning Java.

Below is a Chess GUI, for which I am trying to add a save button which must save the content(the current states of objects like the positions of JLabels, JPanels, etc. or the entire frame itself) and must resume playing after double-click from the saved location. Help me in this situation, as for all of my projects, this is appended as a drawback all the time. [Chess GUI]Text In general, please tell me how to save the states or attributes of an object and look at it later.

https://stackoverflow.com/questions/66781712/how-to-save-a-java-swing-application-and-resume-it-like-a-microsoft-word-applica March 24, 2021 at 09:07PM

没有评论:

发表评论