I'm trying to develop a tool window. It has a JTable that shows some data in xml files that kept in a specific directory. I want to update my JTable when new xml file is added or modified(There is an add option in my plugin). How can I listen these files? I found some solutions but I can't figure how to implement. If you gonna reply, please explain detailed.
I'm looking for BulkFileListener now. But how to connect my file to MessageBus?