views:

204

answers:

3

I have properties file. I want to use listeners. if some Values change in this file then i want to update my integers. So, Which classes or implements do i need to use?

A: 

You can use JNotify to listen to file system events.

Zed
I use netbeans 6.7. I think there must be easy way to use.
Iguramu
No problem, carry on with that.
Zed
A: 

JNotify simply check the proprety file regularly. You could do the same with a timer. No code examples since the languague is not specified.

Silence
A: 

so anyway, can I ask how to integrate Jnotify in a java source code? I find it very confusing.

jacobian