diff --git a/sdk/jme3-core/src/com/jme3/gde/core/scene/controller/AbstractCameraController.java b/sdk/jme3-core/src/com/jme3/gde/core/scene/controller/AbstractCameraController.java index 0e92718d5..d1b55d492 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/scene/controller/AbstractCameraController.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/scene/controller/AbstractCameraController.java @@ -105,12 +105,7 @@ public abstract class AbstractCameraController extends AbstractAppState implemen } SceneApplication.getApplication().setActiveCameraController(this); - java.awt.EventQueue.invokeLater(new Runnable() { - - public void run() { - addAdditionnalToolbar(); - } - }); + addAdditionnalToolbar(); } private void addAdditionnalToolbar() { @@ -135,13 +130,7 @@ public abstract class AbstractCameraController extends AbstractAppState implemen inputManager.removeListener(this); SceneApplication.getApplication().getStateManager().detach(this); if (SceneApplication.getApplication().getActiveCameraController() == this) { - java.awt.EventQueue.invokeLater(new Runnable() { - - public void run() { - removeAdditionnalToolbar(); - - } - }); + removeAdditionnalToolbar(); } }