Updating JME3 Canvas from swing GUI


I’m implementing an editor, which embeds a JME3 canvas in a swing GUI (based on this example: ). Unfortunatelly I have a update problem: For example I change the local translation of a geomtery via a swing text field. The geometry in the JME3 canvas will only be updates when I click on the canvas.

Which method I have to call, to update my canvas without clicking in the canvas?

The canvas won’t update unless its in focus.

Try [java]app.setPauseOnLostFocus(false)[/java]


Thank you!

This solves my problem.