How Two Programs Can Talk To Each Other In Java?
- by Arnon
My first time here...
I want to ?reduce? the CPU usage/ROM usage/RAM usage - in general ?speaking?, all system resources that my App use - how doesn't? :)
For this reason i want to split the preferences window from the rest of the application,
and let the preferences window to run as ?independent? program.
The preferences program ?should? write to a Property file(not a problem at all) and to send a "update signal" to the main program - which mean,
to call the update method(that i wrote) that found in the Main class.
How can i call the update method in the Main program from the preferences program?
Or in the other hand...
There is a way to build preferences window that take system resources just when it's appear?
Is this approach - of separating programs and let them talk to each other(somehow) - is a right approach for speeding up my programs?
tnx