File newFile = file;
if( newFile.lastModified() > lastmodified ) {
lastmodified = newFile.lastModified();
Iterator iterator = fileListenerList.iterator();
while( iterator.hasNext() ) {
FileListener listener = (FileListener)iterator.next();
listener.fileChanged( new FileListenerEvent( newFile ) );
}
}
}