Is it possible to write something that automatically makes the java application a focused window every thirty seconds, or does it need to be done at the OS level?
You can try this .