Guest_imported
New member
- Jan 1, 1970
- 0
Hi, I am now using a FileChangeListener to track if a file has been modified by another user. If so, there will be a popup message asking if he wants to load the modified saved file. However I noticed that when the user first save a document, the file modified time change once. But after a few seconds, the modified time change for a second time!
So I am asking if anyone here knows how does java works when we save a file, in this case it is writing content to a file. Why is it that the modified time change 2 times instead of one when we save a file? THanks.
So I am asking if anyone here knows how does java works when we save a file, in this case it is writing content to a file. Why is it that the modified time change 2 times instead of one when we save a file? THanks.