diff --git a/sdk/jme3-gui/release/modules/ext/Nifty-Editor0.5.9.jar b/sdk/jme3-gui/release/modules/ext/Nifty-Editor0.5.9.jar
index 368008604..5f7166746 100644
Binary files a/sdk/jme3-gui/release/modules/ext/Nifty-Editor0.5.9.jar and b/sdk/jme3-gui/release/modules/ext/Nifty-Editor0.5.9.jar differ
diff --git a/sdk/jme3-gui/src/com/jme3/gde/gui/Navigator.form b/sdk/jme3-gui/src/com/jme3/gde/gui/Navigator.form
deleted file mode 100644
index b3657640a..000000000
--- a/sdk/jme3-gui/src/com/jme3/gde/gui/Navigator.form
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
diff --git a/sdk/jme3-gui/src/com/jme3/gde/gui/NiftyGuiDataObject.java b/sdk/jme3-gui/src/com/jme3/gde/gui/NiftyGuiDataObject.java
index 35c97ba72..1c5bc7446 100644
--- a/sdk/jme3-gui/src/com/jme3/gde/gui/NiftyGuiDataObject.java
+++ b/sdk/jme3-gui/src/com/jme3/gde/gui/NiftyGuiDataObject.java
@@ -36,7 +36,7 @@ import org.openide.windows.TopComponent;
resource = "NiftyGuiResolver.xml")
@DataObject.Registration(
mimeType = "text/x-niftygui+xml",
- iconBase = "com/jme3/gde/gui/Computer_File_043.gif",
+ iconBase = "com/jme3/gde/gui/multiview/icons/Computer_File_043.gif",
displayName = "#LBL_NiftyGui_LOADER",
position = 300)
@ActionReferences({
@@ -125,7 +125,7 @@ public class NiftyGuiDataObject extends MultiDataObject {
@Override
protected Node createNodeDelegate() {
DataNode node = new DataNode(this, Children.LEAF, getLookup());
- node.setIconBaseWithExtension("com/jme3/gde/gui/Computer_File_043.gif");
+ node.setIconBaseWithExtension("com/jme3/gde/gui/multiview/icons/Computer_File_043.gif");
return node;
}
@@ -136,7 +136,7 @@ public class NiftyGuiDataObject extends MultiDataObject {
@MultiViewElement.Registration(
displayName = "#LBL_NiftyGui_EDITOR",
- iconBase = "com/jme3/gde/gui/Computer_File_043.gif",
+ iconBase = "com/jme3/gde/gui/multiview/icons/Computer_File_043.gif",
mimeType = "text/x-niftygui+xml",
persistenceType = TopComponent.PERSISTENCE_ONLY_OPENED,
preferredID = "NiftyGui",
diff --git a/sdk/jme3-gui/src/com/jme3/gde/gui/NiftyGuiResolver.xml b/sdk/jme3-gui/src/com/jme3/gde/gui/NiftyGuiResolver.xml
index cab60462a..4076cc28c 100644
--- a/sdk/jme3-gui/src/com/jme3/gde/gui/NiftyGuiResolver.xml
+++ b/sdk/jme3-gui/src/com/jme3/gde/gui/NiftyGuiResolver.xml
@@ -1,8 +1,4 @@
-
diff --git a/sdk/jme3-gui/src/com/jme3/gde/gui/NiftyGuiVisualElement.form b/sdk/jme3-gui/src/com/jme3/gde/gui/NiftyGuiVisualElement.form
deleted file mode 100644
index add7a2637..000000000
--- a/sdk/jme3-gui/src/com/jme3/gde/gui/NiftyGuiVisualElement.form
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
diff --git a/sdk/jme3-gui/src/com/jme3/gde/gui/OldNiftyGuiDataObject.java b/sdk/jme3-gui/src/com/jme3/gde/gui/OldNiftyGuiDataObject.java
deleted file mode 100644
index 7b06694e9..000000000
--- a/sdk/jme3-gui/src/com/jme3/gde/gui/OldNiftyGuiDataObject.java
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
-package com.jme3.gde.gui;
-
-import com.jme3.gde.core.assets.ProjectAssetManager;
-import com.jme3.gde.gui.multiview.PreviewView;
-import java.io.IOException;
-import org.netbeans.api.project.Project;
-import org.netbeans.api.project.ProjectManager;
-import org.netbeans.modules.xml.multiview.DesignMultiViewDesc;
-import org.netbeans.modules.xml.multiview.XmlMultiViewDataObject;
-import org.openide.filesystems.FileObject;
-import org.openide.loaders.DataNode;
-import org.openide.loaders.DataObjectExistsException;
-import org.openide.loaders.MultiFileLoader;
-import org.openide.nodes.Node;
-import org.openide.nodes.Children;
-import org.openide.util.Lookup;
-import org.openide.util.lookup.AbstractLookup;
-import org.openide.util.lookup.InstanceContent;
-import org.openide.util.lookup.ProxyLookup;
-
-public class OldNiftyGuiDataObject extends XmlMultiViewDataObject {
-
- private static final int TYPE_TOOLBAR = 0;
- protected final Lookup lookup;
- protected final InstanceContent lookupContents = new InstanceContent();
-
- public OldNiftyGuiDataObject(FileObject pf, MultiFileLoader loader) throws DataObjectExistsException, IOException {
- super(pf, loader);
- lookup = new ProxyLookup(getCookieSet().getLookup(), new AbstractLookup(getLookupContents()));
- findAssetManager();
- }
-
- protected void findAssetManager() {
- FileObject file = getPrimaryFile();
- ProjectManager pm = ProjectManager.getDefault();
- while (file != null) {
- if (file.isFolder() && pm.isProject(file)) {
- try {
- Project project = ProjectManager.getDefault().findProject(file);
- if (project != null) {
- ProjectAssetManager mgr = project.getLookup().lookup(ProjectAssetManager.class);
- if (mgr != null) {
- getLookupContents().add(mgr);
- return;
- }
- }
- } catch (IOException ex) {
- } catch (IllegalArgumentException ex) {
- }
- }
- file = file.getParent();
- }
- }
-
- @Override
- public Lookup getLookup() {
- return lookup;
- }
-
- public InstanceContent getLookupContents() {
- return lookupContents;
- }
-
- @Override
- protected Node createNodeDelegate() {
- DataNode node = new DataNode(this, Children.LEAF, getLookup());
- node.setIconBaseWithExtension("com/jme3/gde/gui/Computer_File_043.gif");
- return node;
- }
-
- @Override
- protected DesignMultiViewDesc[] getMultiViewDesc() {
- if (getLookup().lookup(ProjectAssetManager.class) == null) {
- return new DesignMultiViewDesc[]{};
- } else {
-
- return new DesignMultiViewDesc[]{new PreviewView(this, TYPE_TOOLBAR)};
- }
- }
-
- @Override
- protected String getPrefixMark() {
- return "Nifty";
- }
-}
diff --git a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/Bundle.properties b/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/Bundle.properties
deleted file mode 100644
index 7a6ba8e9c..000000000
--- a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/Bundle.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-
-PreviewPanel.jLabel1.text=jLabel1
-ErrorPanel.jLabel1.text=jLabel1
-ErrorPanel.jLabel2.text=\ Errors
diff --git a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/ErrorPanel.form b/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/ErrorPanel.form
deleted file mode 100644
index ae4ae89ae..000000000
--- a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/ErrorPanel.form
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-
diff --git a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/ErrorPanel.java b/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/ErrorPanel.java
deleted file mode 100644
index 94a62d5a4..000000000
--- a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/ErrorPanel.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
-
-/*
- * ErrorPanel.java
- *
- * Created on 23 janv. 2012, 22:19:24
- */
-package com.jme3.gde.gui.multiview;
-
-import java.awt.Component;
-import javax.swing.DefaultListCellRenderer;
-import javax.swing.DefaultListModel;
-import javax.swing.ImageIcon;
-import javax.swing.JLabel;
-import javax.swing.JList;
-import javax.swing.SwingConstants;
-
-/**
- *
- * @author Nehon
- */
-public class ErrorPanel extends java.awt.Panel {
-
- private DefaultListModel errors = new DefaultListModel();
- private static ImageIcon fatalImage = null, nonFatalImage = null;
-
- /** Creates new form ErrorPanel */
- public ErrorPanel() {
- initComponents();
- jList1.setCellRenderer(new DefaultListCellRenderer() {
-
- @Override
- public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
- super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
- if (value instanceof JLabel) {
- setIcon(((JLabel) value).getIcon());
- setText(((JLabel) value).getText());
- }
- return this;
- }
- });
- }
-
- private static ImageIcon getFatalErrorIcon() {
- if (fatalImage == null) {
- fatalImage = new ImageIcon(ErrorPanel.class.getResource("/com/jme3/gde/gui/multiview/icons/error.png")); //NOI18N
- }
- return fatalImage;
- }
-
- private static ImageIcon getNonfatalErrorIcon() {
- if (nonFatalImage == null) {
- nonFatalImage = new ImageIcon(ErrorPanel.class.getResource("/com/jme3/gde/gui/multiview/icons/warning.png")); //NOI18N
- }
- return nonFatalImage;
- }
-
- public void addError(String error) {
- errors.addElement(new JLabel(
- error,
- getFatalErrorIcon(),
- SwingConstants.LEFT));
-
- }
-
- public void addWarning(String error) {
- errors.addElement(new JLabel(
- error,
- getNonfatalErrorIcon(),
- SwingConstants.LEFT));
-
- }
-
- public void clear(){
- errors.clear();
- }
-
-
- /** This method is called from within the constructor to
- * initialize the form.
- * WARNING: Do NOT modify this code. The content of this method is
- * always regenerated by the Form Editor.
- */
- // //GEN-BEGIN:initComponents
- private void initComponents() {
-
- jLabel1 = new javax.swing.JLabel();
- jScrollPane1 = new javax.swing.JScrollPane();
- jList1 = new javax.swing.JList();
- jLabel2 = new javax.swing.JLabel();
-
- jLabel1.setText(org.openide.util.NbBundle.getMessage(ErrorPanel.class, "ErrorPanel.jLabel1.text")); // NOI18N
-
- setLayout(new java.awt.BorderLayout());
-
- jList1.setModel(errors);
- jScrollPane1.setViewportView(jList1);
-
- add(jScrollPane1, java.awt.BorderLayout.CENTER);
-
- jLabel2.setBackground(new java.awt.Color(200, 200, 200));
- jLabel2.setText(org.openide.util.NbBundle.getMessage(ErrorPanel.class, "ErrorPanel.jLabel2.text")); // NOI18N
- add(jLabel2, java.awt.BorderLayout.NORTH);
- }// //GEN-END:initComponents
- // Variables declaration - do not modify//GEN-BEGIN:variables
- private javax.swing.JLabel jLabel1;
- private javax.swing.JLabel jLabel2;
- private javax.swing.JList jList1;
- private javax.swing.JScrollPane jScrollPane1;
- // End of variables declaration//GEN-END:variables
-}
diff --git a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/MouseInputEvent.java b/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/MouseInputEvent.java
deleted file mode 100644
index 71a37d433..000000000
--- a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/MouseInputEvent.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package com.jme3.gde.gui.multiview;
-
-/**
- *
- * @author normenhansen
- */
-public class MouseInputEvent {
- int x;
- int y;
- int button;
- int huh;
- boolean pressed;
-
- public MouseInputEvent(int x, int y, int button, int huh, boolean pressed) {
- this.x = x;
- this.y = y;
- this.button = button;
- this.huh = huh;
- this.pressed = pressed;
- }
-
-}
diff --git a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/NiftyFileChildren.java b/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/NiftyFileChildren.java
deleted file mode 100644
index ee70aa1d8..000000000
--- a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/NiftyFileChildren.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
-package com.jme3.gde.gui.multiview;
-
-import java.util.LinkedList;
-import java.util.List;
-import org.openide.nodes.Children;
-import org.openide.nodes.Node;
-import org.w3c.dom.Element;
-
-/**
- *
- * @author normenhansen
- */
-public class NiftyFileChildren extends Children.Keys {
-
- Element xmlNode;
-
- public NiftyFileChildren(Element xmlNode) {
- this.xmlNode = xmlNode;
- }
-
- @Override
- protected void addNotify() {
- super.addNotify();
- setKeys(createKeys());
- }
-
- protected List createKeys() {
- LinkedList ret = new LinkedList();
- Element curElement = XmlHelper.findFirstChildElement(xmlNode);
- while (curElement != null) {
- if (checkElement(curElement)) {
- ret.add(curElement);
- }
- curElement = XmlHelper.findNextSiblingElement(curElement);
- }
-
- return ret;
- }
-
- private boolean checkElement(Element curElement) {
- if (!"screen".equals(curElement.getTagName())) {
- return false;
- }
- return true;
- }
-
- @Override
- protected Node[] createNodes(Element key) {
- return new Node[]{new NiftyScreenNode(key.getAttribute("id"))};
- }
-}
diff --git a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/NiftyFileNode.java b/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/NiftyFileNode.java
deleted file mode 100644
index a3d15f188..000000000
--- a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/NiftyFileNode.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package com.jme3.gde.gui.multiview;
-
-import org.openide.nodes.AbstractNode;
-import org.w3c.dom.Element;
-
-/**
- *
- * @author normenhansen
- */
-public class NiftyFileNode extends AbstractNode{
-
- public NiftyFileNode(Element xmlNode) {
- super(new NiftyFileChildren(xmlNode));
- }
-
-
-}
diff --git a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/NiftyJmeDisplay.java b/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/NiftyJmeDisplay.java
deleted file mode 100644
index a76eec721..000000000
--- a/sdk/jme3-gui/src/com/jme3/gde/gui/multiview/NiftyJmeDisplay.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
- * Copyright (c) 2009-2010 jMonkeyEngine
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * * Neither the name of 'jMonkeyEngine' nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-package com.jme3.gde.gui.multiview;
-
-import com.jme3.asset.AssetInfo;
-import com.jme3.asset.AssetKey;
-import com.jme3.asset.AssetManager;
-import com.jme3.asset.AssetNotFoundException;
-import com.jme3.asset.DesktopAssetManager;
-import com.jme3.audio.AudioRenderer;
-import com.jme3.niftygui.RenderDeviceJme;
-import com.jme3.niftygui.SoundDeviceJme;
-import com.jme3.post.SceneProcessor;
-import com.jme3.renderer.RenderManager;
-import com.jme3.renderer.Renderer;
-import com.jme3.renderer.ViewPort;
-import com.jme3.renderer.queue.RenderQueue;
-import com.jme3.texture.FrameBuffer;
-import de.lessvoid.nifty.Nifty;
-import de.lessvoid.nifty.spi.input.InputSystem;
-import de.lessvoid.nifty.tools.TimeProvider;
-import de.lessvoid.nifty.tools.resourceloader.ResourceLocation;
-import java.io.InputStream;
-import java.net.URL;
-
-public class NiftyJmeDisplay extends com.jme3.niftygui.NiftyJmeDisplay implements SceneProcessor {
-
- protected class ResourceLocationJmp implements ResourceLocation {
-
- public InputStream getResourceAsStream(String path) {
- AssetKey