0
I am developing an application with persistence in Java for a college job, and I need the system to automatically save the data when closing the application (with a ready function provided by the teacher).
My question is this: is there a way to eliminate the default close button created by Netbeans, or modify the action taken by clicking the button?
Thanks in advance.