I would like to know if there is a way to control a Windows application using Java code. I already found this in googled and found that it can be done using JNI or a library called NewJawin.
I want to control Windows Media Player using Java code, for example. play, pause and change songs, but could not find a suitable example to bring me so far. Do you have any suggestions?
source share