Reputation: 9
Is it possible for java code to detect when another program notification(the orange flicker on the task bar) appears?
Upvotes: 0
Views: 122
Reputation: 34900
This is impossible via standard java API, but it is possible via JNI
. You have to write your own wrappers under Windows API
(some own DLL
for export special API fucntions) to catch such events.
A little googling gives us several links about this theme:
Making Windows API calls from JAVA
Making Native Windows API calls from within a Java Application
Upvotes: 1