Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modfied file time

Status
Not open for further replies.

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top