How to detect another application's Canvas rendering events?
The question is actually about Canvas3D image rendering in Java3D, but since Canvas3D is a child of Canvas, I am wondering if there are any solutions on Java2D layer.
Let's say we have two applications: X and Y. Application Y is a deamon which listens to events occurring in application X. Application Y does not have any coding relationship with X .
Now, an image will be rendered in application X. I want to use the deamon -- application Y to detect the time point right after the image rendering is finished and do some stuff.
Currently, we can find the frame and Canvas3D on the frame when application X is loaded, but there seems no way to use any listeners to detect such events in Canvas3D as image rendering.
Does anybody have a clue of how to do?