how to get automatic backup from mysql?
posted 5 years ago
I can think of two ways to achieve what you want. There are probably more.
1: Add a shut down hook to your runtime. 2: Add a WindowListener to your outermost (parent) frame.Both those objects should call code to update the database.