Hi,
By integration of a FX component there is currently no way to grap the page WindowEvent due the usage of the FXCanvas SWT / FX component bridge to indicate a lost focus.
I need such window shown or lost event handler to take care of inner application functionality, whenever a user clicks on a different program window. It seems only be assignable on the Stage object which is not available with the FXCanvas.
I read a stack overflow topic which reflects the problem in detail.
http://stackoverflow.com/questions/8944445/how-to-listen-for-windowevent-window-shown-in-the-nodes-of-the-scene-graph
Some workaround is required but don't know where to stick on.
Many thanks for some suggestions.
Kind regards,
Andreas
By integration of a FX component there is currently no way to grap the page WindowEvent due the usage of the FXCanvas SWT / FX component bridge to indicate a lost focus.
I need such window shown or lost event handler to take care of inner application functionality, whenever a user clicks on a different program window. It seems only be assignable on the Stage object which is not available with the FXCanvas.
I read a stack overflow topic which reflects the problem in detail.
http://stackoverflow.com/questions/8944445/how-to-listen-for-windowevent-window-shown-in-the-nodes-of-the-scene-graph
Some workaround is required but don't know where to stick on.
Many thanks for some suggestions.
Kind regards,
Andreas