Change-Management von JDialog

O

Oliver Hirschi

Hi,

I have a Java-Client-Application which connetct to a databes, to manage
production-jobs. A job is opened, edited and then closed. Now, I will
implement a check, if a job is really changed, so I will bring up a
warning, if the job is closed whitout saving.

I see two appendages for this:
- I implement on each object, which can be edited the equals(...)-Method
and by closing I check each objet with equals(...).
- I implement several listeners (for each edit-action) to obtain the
changing and if something has changed, a flag is set.

How is this problem solved in practice, i.e. how did you solve this
problem?
Is there something like a framework for this.

Thanks & Kind regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,264
Messages
2,571,065
Members
48,770
Latest member
ElysaD

Latest Threads

Top