From df32c74d53023b90f870dddcd5c3843c04b4042c Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Mon, 3 Oct 2011 16:04:57 +0000 Subject: [PATCH] - fix invisible gui node in new swing panel git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8341 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java b/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java index 663ddb39f..e6a5f30c5 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java @@ -147,7 +147,7 @@ public class SceneApplication extends Application implements LookupProvider, Loo public AwtPanel getMainPanel() { if (panel == null) { panel = ((AwtPanelsContext) getContext()).createPanel(true); - panel.attachTo(viewPort, guiViewPort, overlayView); + panel.attachTo(viewPort, overlayView, guiViewPort); ((AwtPanelsContext) getContext()).setInputSource(panel); } return panel;