I am working on a Swing application for data maintenance (Java 6).
There is a JFrame with several JTextFields.
If the user is editing a record, there is UNSAVED data until she/he presses the Save-Button.
The application should always be aware if there is unsaved data. How can this be done?