Can't move mouse cursor from within AWT Canvas in Swing Window

Hello all,

I have Swing window with (not only) AWT Canvas, which is used for JME3 scene rendering.

Everything is ok unless I move mouse cursor at the Canvas area. Then it can normally interact with scene, but it’s impossible to move it away from Canvas.

Is there any simple solution, which I haven’t noticed yet?



PS: If it helps, I use SimpleApplication for now.



Thanks

inputManager.setCursorVisible(true);

1 Like

Many thanks,

It’s incredible, how fast this reply was. And more, it works :slight_smile: