Ver Fonte

SDK:
- Cleanup icon use throughout SDK-Core

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10131 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

nor..67 há 12 anos atrás
pai
commit
516c63ad8d
88 ficheiros alterados com 418 adições e 204 exclusões
  1. 1 1
      jme3-core/src/com/jme3/gde/core/assets/AssetDataObject.java
  2. 2 3
      jme3-core/src/com/jme3/gde/core/assets/nodes/ProjectAssetsNode.java
  3. 2 3
      jme3-core/src/com/jme3/gde/core/codeless/CodelessProject.java
  4. 2 1
      jme3-core/src/com/jme3/gde/core/codeless/CodelessProjectLogicalView.java
  5. 9 26
      jme3-core/src/com/jme3/gde/core/completion/AssetCompletionProvider.java
  6. 127 0
      jme3-core/src/com/jme3/gde/core/completion/ModelGenerator.java
  7. 5 8
      jme3-core/src/com/jme3/gde/core/filters/AbstractFilterNode.java
  8. 2 3
      jme3-core/src/com/jme3/gde/core/filters/FilterPostProcessorNode.java
  9. BIN
      jme3-core/src/com/jme3/gde/core/icons/65.png
  10. 139 0
      jme3-core/src/com/jme3/gde/core/icons/IconList.java
  11. BIN
      jme3-core/src/com/jme3/gde/core/icons/anim.png
  12. BIN
      jme3-core/src/com/jme3/gde/core/icons/animPlay.png
  13. BIN
      jme3-core/src/com/jme3/gde/core/icons/animationcontrol.gif
  14. BIN
      jme3-core/src/com/jme3/gde/core/icons/assets.gif
  15. BIN
      jme3-core/src/com/jme3/gde/core/icons/audioTrack.png
  16. BIN
      jme3-core/src/com/jme3/gde/core/icons/audionode.gif
  17. BIN
      jme3-core/src/com/jme3/gde/core/icons/bitmaptext.gif
  18. BIN
      jme3-core/src/com/jme3/gde/core/icons/bone.png
  19. BIN
      jme3-core/src/com/jme3/gde/core/icons/boneTrack.png
  20. BIN
      jme3-core/src/com/jme3/gde/core/icons/box_color.gif
  21. BIN
      jme3-core/src/com/jme3/gde/core/icons/box_wire.gif
  22. BIN
      jme3-core/src/com/jme3/gde/core/icons/charactercontrol.gif
  23. BIN
      jme3-core/src/com/jme3/gde/core/icons/crossedEye.gif
  24. BIN
      jme3-core/src/com/jme3/gde/core/icons/effectTrack.png
  25. BIN
      jme3-core/src/com/jme3/gde/core/icons/eye.gif
  26. BIN
      jme3-core/src/com/jme3/gde/core/icons/font.gif
  27. BIN
      jme3-core/src/com/jme3/gde/core/icons/geometry.gif
  28. BIN
      jme3-core/src/com/jme3/gde/core/icons/ghostcontrol.gif
  29. BIN
      jme3-core/src/com/jme3/gde/core/icons/ghostnode.gif
  30. 0 0
      jme3-core/src/com/jme3/gde/core/icons/gui.gif
  31. BIN
      jme3-core/src/com/jme3/gde/core/icons/image.gif
  32. BIN
      jme3-core/src/com/jme3/gde/core/icons/important.gif
  33. 0 0
      jme3-core/src/com/jme3/gde/core/icons/jme-logo.png
  34. BIN
      jme3-core/src/com/jme3/gde/core/icons/light.gif
  35. BIN
      jme3-core/src/com/jme3/gde/core/icons/lightbulb.gif
  36. BIN
      jme3-core/src/com/jme3/gde/core/icons/lightbulb_off.gif
  37. BIN
      jme3-core/src/com/jme3/gde/core/icons/linknode.gif
  38. BIN
      jme3-core/src/com/jme3/gde/core/icons/material.gif
  39. BIN
      jme3-core/src/com/jme3/gde/core/icons/mesh.gif
  40. BIN
      jme3-core/src/com/jme3/gde/core/icons/model.gif
  41. BIN
      jme3-core/src/com/jme3/gde/core/icons/node.gif
  42. BIN
      jme3-core/src/com/jme3/gde/core/icons/ortho.png
  43. BIN
      jme3-core/src/com/jme3/gde/core/icons/particleemitter.gif
  44. BIN
      jme3-core/src/com/jme3/gde/core/icons/persp.png
  45. BIN
      jme3-core/src/com/jme3/gde/core/icons/physicscontrol.gif
  46. BIN
      jme3-core/src/com/jme3/gde/core/icons/physicsnode.gif
  47. BIN
      jme3-core/src/com/jme3/gde/core/icons/physicswheel.gif
  48. BIN
      jme3-core/src/com/jme3/gde/core/icons/player.gif
  49. BIN
      jme3-core/src/com/jme3/gde/core/icons/scene.gif
  50. BIN
      jme3-core/src/com/jme3/gde/core/icons/skeletonControl.gif
  51. BIN
      jme3-core/src/com/jme3/gde/core/icons/sound.gif
  52. BIN
      jme3-core/src/com/jme3/gde/core/icons/terrain.png
  53. BIN
      jme3-core/src/com/jme3/gde/core/icons/track.png
  54. BIN
      jme3-core/src/com/jme3/gde/core/icons/vehicle.png
  55. 2 3
      jme3-core/src/com/jme3/gde/core/importantfiles/ImportantFilesNode.java
  56. 21 21
      jme3-core/src/com/jme3/gde/core/scene/controller/toolbars/CameraToolbar.form
  57. 14 16
      jme3-core/src/com/jme3/gde/core/scene/controller/toolbars/CameraToolbar.java
  58. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/SceneExplorerTopComponent.java
  59. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAnimControl.java
  60. 4 6
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAnimation.java
  61. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAssetLinkNode.java
  62. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAudioNode.java
  63. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeBitmapText.java
  64. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeBone.java
  65. 3 2
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeCharacterControl.java
  66. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeDistanceLodCalculator.java
  67. 4 7
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeGenericControl.java
  68. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeGeometry.java
  69. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeGhostControl.java
  70. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeLight.java
  71. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeMesh.java
  72. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeNode.java
  73. 3 5
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeParticleEmitter.java
  74. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmePicture.java
  75. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeRigidBodyControl.java
  76. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeSkeletonControl.java
  77. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTerrainGrid.java
  78. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTerrainLodControl.java
  79. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTerrainQuad.java
  80. 5 9
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTrack.java
  81. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeVehicleControl.java
  82. 2 3
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeVehicleWheel.java
  83. 4 4
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/AudioTrackVisualPanel1.form
  84. 3 2
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/AudioTrackVisualPanel1.java
  85. 4 4
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/EffectTrackVisualPanel1.form
  86. 3 2
      jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/EffectTrackVisualPanel1.java
  87. 12 12
      jme3-core/src/com/jme3/gde/core/sceneviewer/SceneViewerTopComponent.form
  88. 7 6
      jme3-core/src/com/jme3/gde/core/sceneviewer/SceneViewerTopComponent.java

+ 1 - 1
jme3-core/src/com/jme3/gde/core/assets/AssetDataObject.java

@@ -133,7 +133,7 @@ public class AssetDataObject extends MultiDataObject {
     @Override
     protected Node createNodeDelegate() {
         AssetDataNode node = new AssetDataNode(this, Children.LEAF, new ProxyLookup(getCookieSet().getLookup(), contentLookup));
-        node.setIconBaseWithExtension("com/jme3/gde/core/assets/jme-logo.png");
+        node.setIconBaseWithExtension("com/jme3/gde/core/icons/jme-logo.png");
         return node;
     }
 

+ 2 - 3
jme3-core/src/com/jme3/gde/core/assets/nodes/ProjectAssetsNode.java

@@ -33,13 +33,13 @@ package com.jme3.gde.core.assets.nodes;
 
 import com.jme3.gde.core.assets.AssetDataObject;
 import com.jme3.gde.core.assets.ProjectAssetManager;
+import com.jme3.gde.core.icons.IconList;
 import java.awt.Image;
 import org.netbeans.api.project.Project;
 import org.openide.loaders.DataObject;
 import org.openide.loaders.DataObjectNotFoundException;
 import org.openide.nodes.FilterNode;
 import org.openide.nodes.Node;
-import org.openide.util.ImageUtilities;
 import org.openide.util.Lookup;
 import org.openide.util.lookup.ProxyLookup;
 
@@ -49,8 +49,7 @@ import org.openide.util.lookup.ProxyLookup;
  */
 public class ProjectAssetsNode extends FilterNode {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("/com/jme3/gde/core/assets/nodes/icons/assets.gif");
+    private static Image smallImage = IconList.asset.getImage();
 
     public ProjectAssetsNode(ProjectAssetManager manager, Project proj, Node node) throws DataObjectNotFoundException {
         super(node, new AssetChildren(manager, node), createLookupProxy(manager, node));

+ 2 - 3
jme3-core/src/com/jme3/gde/core/codeless/CodelessProject.java

@@ -2,6 +2,7 @@
 package com.jme3.gde.core.codeless;
 
 import com.jme3.gde.core.assets.ProjectAssetManager;
+import com.jme3.gde.core.icons.IconList;
 import java.beans.PropertyChangeListener;
 import java.io.File;
 import java.io.IOException;
@@ -21,7 +22,6 @@ import org.netbeans.spi.project.ui.LogicalViewProvider;
 import org.netbeans.spi.project.ui.support.DefaultProjectOperations;
 import org.openide.filesystems.FileObject;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.Lookup;
 import org.openide.util.lookup.Lookups;
 
@@ -203,8 +203,7 @@ class CodelessProject implements Project {
 
         @Override
         public Icon getIcon() {
-            return new ImageIcon(ImageUtilities.loadImage(
-                    "com/jme3/gde/core/sceneviewer/jme-logo.png"));
+            return IconList.jmeLogo;
         }
 
         @Override

+ 2 - 1
jme3-core/src/com/jme3/gde/core/codeless/CodelessProjectLogicalView.java

@@ -1,6 +1,7 @@
 package com.jme3.gde.core.codeless;
 
 import com.jme3.gde.core.assets.ProjectAssetManager;
+import com.jme3.gde.core.icons.IconList;
 import java.awt.Image;
 import java.util.LinkedList;
 import java.util.List;
@@ -66,7 +67,7 @@ class CodelessProjectLogicalView implements LogicalViewProvider {
 
         @Override
         public Image getIcon(int type) {
-            return ImageUtilities.loadImage("com/jme3/gde/core/sceneviewer/jme-logo.png");
+            return IconList.jmeLogo.getImage();
         }
 
         @Override

+ 9 - 26
jme3-core/src/com/jme3/gde/core/completion/AssetCompletionProvider.java

@@ -32,6 +32,7 @@
 package com.jme3.gde.core.completion;
 
 import com.jme3.gde.core.assets.ProjectAssetManager;
+import com.jme3.gde.core.icons.IconList;
 import java.awt.Color;
 import java.awt.Font;
 import java.awt.Graphics;
@@ -60,7 +61,6 @@ import org.netbeans.spi.editor.completion.support.CompletionUtilities;
 import org.openide.filesystems.FileObject;
 import org.openide.loaders.DataObject;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 
 /**
  *
@@ -70,23 +70,6 @@ import org.openide.util.ImageUtilities;
 public class AssetCompletionProvider implements CompletionProvider {
 
     private static final Logger logger = Logger.getLogger(AssetCompletionProvider.class.getName());
-    private static ImageIcon assetIcon =
-            new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/assets/nodes/icons/assets.gif"));
-    private static ImageIcon modelIcon =
-            new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/assets/nodes/icons/model.gif"));
-    private static ImageIcon soundIcon =
-            new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/assets/nodes/icons/sound.gif"));
-    private static ImageIcon materialIcon =
-            new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/assets/nodes/icons/material.gif"));
-    private static ImageIcon matDefIcon =
-            new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/assets/jme-logo.png"));
-    private static ImageIcon fontIcon =
-            new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/assets/nodes/icons/font.gif"));
-    private static ImageIcon filterIcon =
-            new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/filters/icons/eye.gif"));
-    private static ImageIcon textureIcon =
-            new ImageIcon(ImageUtilities.loadImage("com/jme3/gde/core/assets/nodes/icons/image.gif"));
-
     private enum AssetType {
 
         Invalid, Model, Material, Filter, MatDef, Texture, Sound, Font, Xml, Asset
@@ -366,28 +349,28 @@ public class AssetCompletionProvider implements CompletionProvider {
             ImageIcon icon = null;
             switch (type) {
                 case Model:
-                    icon = modelIcon;
+                    icon = IconList.model;
                     break;
                 case Material:
-                    icon = materialIcon;
+                    icon = IconList.material;
                     break;
                 case MatDef:
-                    icon = matDefIcon;
+                    icon = IconList.matDef;
                     break;
                 case Texture:
-                    icon = textureIcon;
+                    icon = IconList.texture;
                     break;
                 case Sound:
-                    icon = soundIcon;
+                    icon = IconList.sound;
                     break;
                 case Font:
-                    icon = fontIcon;
+                    icon = IconList.font;
                     break;
                 case Filter:
-                    icon = filterIcon;
+                    icon = IconList.filter;
                     break;
                 case Asset:
-                    icon = assetIcon;
+                    icon = IconList.asset;
                     break;
                 case Invalid:
                     break;

+ 127 - 0
jme3-core/src/com/jme3/gde/core/completion/ModelGenerator.java

@@ -0,0 +1,127 @@
+/*
+ * Copyright (c) 2003-2012 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.core.completion;
+
+//import java.lang.reflect.Modifier;
+import java.util.Collections;
+import java.util.List;
+import javax.swing.text.Document;
+import javax.swing.text.JTextComponent;
+import org.netbeans.api.editor.mimelookup.MimeRegistration;
+import org.netbeans.spi.editor.codegen.CodeGenerator;
+import org.netbeans.spi.editor.codegen.CodeGeneratorContextProvider;
+import org.openide.util.Exceptions;
+import org.openide.util.Lookup;
+
+public class ModelGenerator implements CodeGenerator {
+
+    JTextComponent textComp;
+
+    /**
+     *
+     * @param context containing JTextComponent and possibly other items
+     * registered by {@link CodeGeneratorContextProvider}
+     */
+    private ModelGenerator(Lookup context) { // Good practice is not to save Lookup outside ctor
+        textComp = context.lookup(JTextComponent.class);
+    }
+
+//    @MimeRegistration(mimeType = "text/x-java", service = CodeGenerator.Factory.class)
+    public static class Factory implements CodeGenerator.Factory {
+
+        public List<? extends CodeGenerator> create(Lookup context) {
+            return Collections.singletonList(new ModelGenerator(context));
+        }
+    }
+
+    /**
+     * The name which will be inserted inside Insert Code dialog
+     */
+    public String getDisplayName() {
+        return "Sample Generator";
+    }
+
+    /**
+     * This will be invoked when user chooses this Generator from Insert Code
+     * dialog
+     */
+    public void invoke() {
+        try {
+            Document doc = textComp.getDocument();
+            int caretPos = textComp.getCaretPosition();
+            doc.insertString(caretPos, "hack", null);
+//            Document doc = textComp.getDocument();
+//            JavaSource javaSource = JavaSource.forDocument(doc);
+//            CancellableTask task = new CancellableTask<WorkingCopy>() {
+//                public void run(WorkingCopy workingCopy) throws IOException {
+//                    workingCopy.toPhase(Phase.RESOLVED);
+//                    CompilationUnitTree cut = workingCopy.getCompilationUnit();
+//                    TreeMaker make = workingCopy.getTreeMaker();
+//                    for (Tree typeDecl : cut.getTypeDecls()) {
+//                        if (Tree.Kind.CLASS == typeDecl.getKind()) {
+//                            ClassTree clazz = (ClassTree) typeDecl;
+//                            ModifiersTree methodModifiers =
+//                                    make.Modifiers(Collections.<Modifier>singleton(Modifier.PUBLIC),
+//                                    Collections.<AnnotationTree>emptyList());
+//                            VariableTree parameter =
+//                                    make.Variable(make.Modifiers(Collections.<Modifier>singleton(Modifier.FINAL),
+//                                    Collections.<AnnotationTree>emptyList()),
+//                                    "arg0",
+//                                    make.Identifier("Object"),
+//                                    null);
+//                            TypeElement element = workingCopy.getElements().getTypeElement("java.io.IOException");
+//                            ExpressionTree throwsClause = make.QualIdent(element);
+//                            MethodTree newMethod =
+//                                    make.Method(methodModifiers,
+//                                    "writeExternal",
+//                                    make.PrimitiveType(TypeKind.VOID),
+//                                    Collections.<TypeParameterTree>emptyList(),
+//                                    Collections.singletonList(parameter),
+//                                    Collections.<ExpressionTree>singletonList(throwsClause),
+//                                    "{ throw new UnsupportedOperationException(\"Not supported yet.\") }",
+//                                    null);
+//                            ClassTree modifiedClazz = make.addClassMember(clazz, newMethod);
+//                            workingCopy.rewrite(clazz, modifiedClazz);
+//                        }
+//                    }
+//                }
+//
+//                public void cancel() {
+//                }
+//            };
+//            ModificationResult result = javaSource.runModificationTask(task);
+//            result.commit();
+        } catch (Exception ex) {
+            Exceptions.printStackTrace(ex);
+        }
+    }
+}

+ 5 - 8
jme3-core/src/com/jme3/gde/core/filters/AbstractFilterNode.java

@@ -32,6 +32,7 @@
 package com.jme3.gde.core.filters;
 
 import com.jme3.gde.core.filters.actions.EnableFiterAction;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.properties.SceneExplorerProperty;
 import com.jme3.gde.core.properties.ScenePropertyChangeListener;
 import com.jme3.gde.core.util.PropertyUtils;
@@ -51,7 +52,6 @@ import org.openide.nodes.Children;
 import org.openide.nodes.Node;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.SystemAction;
 
 /**
@@ -65,8 +65,6 @@ public abstract class AbstractFilterNode extends AbstractNode implements FilterN
     protected DataObject dataObject;
     protected Filter filter;
     private static Image icon;
-    private static final String ICON_ENABLED = "com/jme3/gde/core/filters/icons/eye.gif";
-    private static final String ICON_DISABLED = "com/jme3/gde/core/filters/icons/crossedEye.gif";
 
     @Override
     public Image getIcon(int type) {
@@ -81,10 +79,10 @@ public abstract class AbstractFilterNode extends AbstractNode implements FilterN
 
     public void toggleIcon(boolean enabled) {
         if (enabled) {
-            icon = ImageUtilities.loadImage(ICON_ENABLED);
+            icon = IconList.eyeOpen.getImage();
 
         } else {
-            icon = ImageUtilities.loadImage(ICON_DISABLED);
+            icon = IconList.eyeCrossed.getImage();
 
         }
         fireIconChange();
@@ -98,9 +96,8 @@ public abstract class AbstractFilterNode extends AbstractNode implements FilterN
         super(Children.LEAF);
         this.filter = filter;
         setName(filter.getName());
-        icon = ImageUtilities.loadImage(ICON_ENABLED);
-        setIconBaseWithExtension(ICON_ENABLED);
-
+        icon = IconList.eyeOpen.getImage();
+//        setIconBaseWithExtension(IconList.eyeOpen.);
     }
 
     @Override

+ 2 - 3
jme3-core/src/com/jme3/gde/core/filters/FilterPostProcessorNode.java

@@ -33,6 +33,7 @@ package com.jme3.gde.core.filters;
 
 import com.jme3.gde.core.assets.FilterDataObject;
 import com.jme3.gde.core.filters.actions.NewFilterPopup;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.post.Filter;
 import com.jme3.post.FilterPostProcessor;
@@ -50,7 +51,6 @@ import org.openide.nodes.Children;
 import org.openide.nodes.Node;
 import org.openide.nodes.NodeTransfer;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.Lookup;
 import org.openide.util.datatransfer.PasteType;
 import org.openide.util.lookup.Lookups;
@@ -62,8 +62,7 @@ import org.openide.util.lookup.Lookups;
 public class FilterPostProcessorNode extends AbstractNode {
 
     private FilterDataObject dataObject;
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/filters/icons/eye.gif");
+    private static Image smallImage = IconList.eyeOpen.getImage();
     private FilterPostProcessor fpp;
 
     public FilterPostProcessorNode(FilterDataObject dataObject) {

BIN
jme3-core/src/com/jme3/gde/core/icons/65.png


+ 139 - 0
jme3-core/src/com/jme3/gde/core/icons/IconList.java

@@ -0,0 +1,139 @@
+/*
+ * Copyright (c) 2003-2012 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.core.icons;
+
+import javax.swing.ImageIcon;
+import org.openide.util.ImageUtilities;
+
+/**
+ *
+ * @author normenhansen
+ */
+public class IconList {
+
+    public static final ImageIcon jmeLogo =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/jme-logo.png", false);
+    public static ImageIcon asset =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/assets.gif", false);
+    public static ImageIcon model =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/model.gif", false);
+    public static ImageIcon sound =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/sound.gif", false);
+    public static ImageIcon material =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/material.gif", false);
+    public static ImageIcon matDef =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/jme-logo.png", false);
+    public static ImageIcon font =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/font.gif", false);
+    public static ImageIcon filter =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/eye.gif", false);
+    public static ImageIcon texture =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/image.gif", false);
+    public static ImageIcon orthoMode =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/ortho.png", false);
+    public static ImageIcon perspMode =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/persp.png", false);
+    public static ImageIcon userMode =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/user.png", false);
+    public static ImageIcon bottomView =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/bottom.png", false);
+    public static ImageIcon backView =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/back.png", false);
+    public static ImageIcon topView =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/top.png", false);
+    public static ImageIcon leftView =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/left.png", false);
+    public static ImageIcon rightView =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/right.png", false);
+    public static ImageIcon frontView =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/front.png", false);
+    public static ImageIcon audioTrack =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/audioTrack.png", false);
+    public static ImageIcon effectTrack =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/effectTrack.png", false);
+    public static ImageIcon boneTrack =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/boneTrack.png", false);
+    public static ImageIcon track =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/track.png", false);
+    public static ImageIcon lightOff =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/lightbulb_off.gif", false);
+    public static ImageIcon lightOn =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/lightbulb.gif", false);
+    public static ImageIcon eyeOpen =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/eye.gif", false);
+    public static ImageIcon eyeCrossed =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/crossedEye.gif", false);
+    public static ImageIcon colorBox =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/box_color.gif", false);
+    public static ImageIcon wireBox =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/box_wire.gif", false);
+    public static ImageIcon info =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/65.png", false);
+    public static ImageIcon player =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/player.gif", false);
+    public static ImageIcon important =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/important.gif", false);
+    public static ImageIcon animControl =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/animationcontrol.gif", false);
+    public static ImageIcon animation =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/anim.png", false);
+    public static ImageIcon animationPlay =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/animPlay.png", false);
+    public static ImageIcon link =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/linknode.gif", false);
+    public static ImageIcon bone =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/bone.png", false);
+    public static ImageIcon wheel =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/physicswheel.gif", false);
+    public static ImageIcon geometry =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/geometry.gif", false);
+    public static ImageIcon ghostControl =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/ghostcontrol.gif", false);
+    public static ImageIcon light =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/light.gif", false);
+    public static ImageIcon mesh =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/mesh.gif", false);
+    public static ImageIcon node =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/node.gif", false);
+    public static ImageIcon emitter =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/particleemitter.gif", false);
+    public static ImageIcon physicsControl =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/physicscontrol.gif", false);
+    public static ImageIcon skeletonControl =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/skeletonControl.gif", false);
+    public static ImageIcon terrain =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/terrain.png", false);
+    public static ImageIcon vehicle =
+            ImageUtilities.loadImageIcon("com/jme3/gde/core/icons/vehicle.png", false);
+//    public static ImageIcon orthoMode =
+//            ImageUtilities.loadImageIcon(, false);
+}

BIN
jme3-core/src/com/jme3/gde/core/icons/anim.png


BIN
jme3-core/src/com/jme3/gde/core/icons/animPlay.png


BIN
jme3-core/src/com/jme3/gde/core/icons/animationcontrol.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/assets.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/audioTrack.png


BIN
jme3-core/src/com/jme3/gde/core/icons/audionode.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/bitmaptext.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/bone.png


BIN
jme3-core/src/com/jme3/gde/core/icons/boneTrack.png


BIN
jme3-core/src/com/jme3/gde/core/icons/box_color.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/box_wire.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/charactercontrol.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/crossedEye.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/effectTrack.png


BIN
jme3-core/src/com/jme3/gde/core/icons/eye.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/font.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/geometry.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/ghostcontrol.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/ghostnode.gif


+ 0 - 0
jme3-core/src/com/jme3/gde/core/importantfiles/important.gif → jme3-core/src/com/jme3/gde/core/icons/gui.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/image.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/important.gif


+ 0 - 0
jme3-core/src/com/jme3/gde/core/assets/jme-logo.png → jme3-core/src/com/jme3/gde/core/icons/jme-logo.png


BIN
jme3-core/src/com/jme3/gde/core/icons/light.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/lightbulb.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/lightbulb_off.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/linknode.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/material.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/mesh.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/model.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/node.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/ortho.png


BIN
jme3-core/src/com/jme3/gde/core/icons/particleemitter.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/persp.png


BIN
jme3-core/src/com/jme3/gde/core/icons/physicscontrol.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/physicsnode.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/physicswheel.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/player.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/scene.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/skeletonControl.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/sound.gif


BIN
jme3-core/src/com/jme3/gde/core/icons/terrain.png


BIN
jme3-core/src/com/jme3/gde/core/icons/track.png


BIN
jme3-core/src/com/jme3/gde/core/icons/vehicle.png


+ 2 - 3
jme3-core/src/com/jme3/gde/core/importantfiles/ImportantFilesNode.java

@@ -4,6 +4,7 @@
  */
 package com.jme3.gde.core.importantfiles;
 
+import com.jme3.gde.core.icons.IconList;
 import java.awt.Image;
 import java.util.ArrayList;
 import java.util.List;
@@ -20,7 +21,6 @@ import org.openide.nodes.AbstractNode;
 import org.openide.nodes.Children;
 import org.openide.nodes.Node;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.Lookup;
 
 /**
@@ -29,8 +29,7 @@ import org.openide.util.Lookup;
  */
 public class ImportantFilesNode extends AbstractNode implements FileChangeListener {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/importantfiles/important.gif");
+    private static Image smallImage = IconList.important.getImage();
 
     public ImportantFilesNode(Project proj) throws DataObjectNotFoundException {
         super(new ImportantFilesChildren(proj));

+ 21 - 21
jme3-core/src/com/jme3/gde/core/scene/controller/toolbars/CameraToolbar.form

@@ -1,4 +1,4 @@
-<?xml version="1.1" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 
 <Form version="1.5" maxVersion="1.8">
   <NonVisualComponents>
@@ -10,8 +10,8 @@
       <SubComponents>
         <MenuItem class="javax.swing.JMenuItem" name="frontMenuItem">
           <Properties>
-            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-              <Image iconType="3" name="/com/jme3/gde/core/scene/controller/toolbars/front.png"/>
+            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+              <Connection code="IconList.frontView" type="code"/>
             </Property>
             <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
               <ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.frontMenuItem.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@@ -23,8 +23,8 @@
         </MenuItem>
         <MenuItem class="javax.swing.JMenuItem" name="leftMenuItem">
           <Properties>
-            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-              <Image iconType="3" name="/com/jme3/gde/core/scene/controller/toolbars/left.png"/>
+            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+              <Connection code="IconList.leftView" type="code"/>
             </Property>
             <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
               <ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.leftMenuItem.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@@ -36,8 +36,8 @@
         </MenuItem>
         <MenuItem class="javax.swing.JMenuItem" name="rightMenuItem">
           <Properties>
-            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-              <Image iconType="3" name="/com/jme3/gde/core/scene/controller/toolbars/right.png"/>
+            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+              <Connection code="IconList.rightView" type="code"/>
             </Property>
             <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
               <ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.rightMenuItem.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@@ -49,8 +49,8 @@
         </MenuItem>
         <MenuItem class="javax.swing.JMenuItem" name="topMenuItem">
           <Properties>
-            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-              <Image iconType="3" name="/com/jme3/gde/core/scene/controller/toolbars/top.png"/>
+            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+              <Connection code="IconList.topView" type="code"/>
             </Property>
             <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
               <ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.topMenuItem.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@@ -62,8 +62,8 @@
         </MenuItem>
         <MenuItem class="javax.swing.JMenuItem" name="backMenuItem">
           <Properties>
-            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-              <Image iconType="3" name="/com/jme3/gde/core/scene/controller/toolbars/back.png"/>
+            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+              <Connection code="IconList.backView" type="code"/>
             </Property>
             <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
               <ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.backMenuItem.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@@ -75,8 +75,8 @@
         </MenuItem>
         <MenuItem class="javax.swing.JMenuItem" name="bottomMenuItem">
           <Properties>
-            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-              <Image iconType="3" name="/com/jme3/gde/core/scene/controller/toolbars/bottom.png"/>
+            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+              <Connection code="IconList.bottomView" type="code"/>
             </Property>
             <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
               <ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.bottomMenuItem.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@@ -108,7 +108,7 @@
               <Component id="viewButton" min="-2" max="-2" attributes="0"/>
               <EmptySpace max="-2" attributes="0"/>
               <Component id="enableOrtho" min="-2" max="-2" attributes="0"/>
-              <EmptySpace pref="96" max="32767" attributes="0"/>
+              <EmptySpace pref="116" max="32767" attributes="0"/>
           </Group>
       </Group>
     </DimensionLayout>
@@ -125,8 +125,8 @@
         <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
           <Font name="Tahoma" size="8" style="0"/>
         </Property>
-        <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-          <Image iconType="3" name="/com/jme3/gde/core/scene/controller/toolbars/user.png"/>
+        <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+          <Connection code="IconList.userMode" type="code"/>
         </Property>
         <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
           <ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.viewButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@@ -145,8 +145,8 @@
         <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
           <Font name="Tahoma" size="8" style="0"/>
         </Property>
-        <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-          <Image iconType="3" name="/com/jme3/gde/core/sceneviewer/icons/persp.png"/>
+        <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+          <Connection code="IconList.perspMode" type="code"/>
         </Property>
         <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
           <ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.enableOrtho.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@@ -155,7 +155,7 @@
           <ResourceString bundle="com/jme3/gde/core/scene/controller/toolbars/Bundle.properties" key="CameraToolbar.enableOrtho.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
         </Property>
         <Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor">
-          <Color id="Pointeur par d&#xe9;faut"/>
+          <Color id="Standardcursor"/>
         </Property>
         <Property name="focusable" type="boolean" value="false"/>
         <Property name="horizontalTextPosition" type="int" value="4"/>
@@ -168,8 +168,8 @@
         <Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
           <Dimension value="[50, 23]"/>
         </Property>
-        <Property name="selectedIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-          <Image iconType="3" name="/com/jme3/gde/core/sceneviewer/icons/ortho.png"/>
+        <Property name="selectedIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+          <Connection code="IconList.orthoMode" type="code"/>
         </Property>
         <Property name="verticalTextPosition" type="int" value="3"/>
       </Properties>

+ 14 - 16
jme3-core/src/com/jme3/gde/core/scene/controller/toolbars/CameraToolbar.java

@@ -4,6 +4,7 @@
  */
 package com.jme3.gde.core.scene.controller.toolbars;
 
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.sceneviewer.SceneViewerTopComponent;
 import com.jme3.gde.core.sceneviewer.actions.SwitchBackViewAction;
 import com.jme3.gde.core.sceneviewer.actions.SwitchBottomViewAction;
@@ -13,7 +14,6 @@ import com.jme3.gde.core.sceneviewer.actions.SwitchRightViewAction;
 import com.jme3.gde.core.sceneviewer.actions.SwitchTopViewAction;
 import com.jme3.gde.core.sceneviewer.actions.ToggleOrthoPerspAction;
 import com.jme3.gde.core.util.CameraUtil.View;
-import javax.swing.ImageIcon;
 import org.openide.util.NbBundle;
 
 /**
@@ -24,8 +24,6 @@ public class CameraToolbar extends javax.swing.JToolBar {
 
     protected boolean isUserView = true;
     private static CameraToolbar instance;
-    ImageIcon userIcon = new ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/user.png"));
-    //toolbar actions
     private ToggleOrthoPerspAction toggleOrthoPerspAction;
     private SwitchFrontViewAction switchFrontViewAction;
     private SwitchLeftViewAction switchLeftViewAction;
@@ -74,7 +72,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
         viewButton = new javax.swing.JButton();
         enableOrtho = new javax.swing.JToggleButton();
 
-        frontMenuItem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/front.png"))); // NOI18N
+        frontMenuItem.setIcon(IconList.frontView);
         frontMenuItem.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.frontMenuItem.text")); // NOI18N
         frontMenuItem.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -83,7 +81,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
         });
         viewMenu.add(frontMenuItem);
 
-        leftMenuItem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/left.png"))); // NOI18N
+        leftMenuItem.setIcon(IconList.leftView);
         leftMenuItem.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.leftMenuItem.text")); // NOI18N
         leftMenuItem.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -92,7 +90,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
         });
         viewMenu.add(leftMenuItem);
 
-        rightMenuItem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/right.png"))); // NOI18N
+        rightMenuItem.setIcon(IconList.rightView);
         rightMenuItem.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.rightMenuItem.text")); // NOI18N
         rightMenuItem.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -101,7 +99,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
         });
         viewMenu.add(rightMenuItem);
 
-        topMenuItem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/top.png"))); // NOI18N
+        topMenuItem.setIcon(IconList.topView);
         topMenuItem.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.topMenuItem.text")); // NOI18N
         topMenuItem.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -110,7 +108,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
         });
         viewMenu.add(topMenuItem);
 
-        backMenuItem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/back.png"))); // NOI18N
+        backMenuItem.setIcon(IconList.backView);
         backMenuItem.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.backMenuItem.text")); // NOI18N
         backMenuItem.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -119,7 +117,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
         });
         viewMenu.add(backMenuItem);
 
-        bottomMenuItem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/bottom.png"))); // NOI18N
+        bottomMenuItem.setIcon(IconList.bottomView);
         bottomMenuItem.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.bottomMenuItem.text")); // NOI18N
         bottomMenuItem.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -128,8 +126,8 @@ public class CameraToolbar extends javax.swing.JToolBar {
         });
         viewMenu.add(bottomMenuItem);
 
-        viewButton.setFont(new java.awt.Font("Tahoma", 0, 8));
-        viewButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/scene/controller/toolbars/user.png"))); // NOI18N
+        viewButton.setFont(new java.awt.Font("Tahoma", 0, 8)); // NOI18N
+        viewButton.setIcon(IconList.userMode);
         viewButton.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.viewButton.text")); // NOI18N
         viewButton.setFocusable(false);
         viewButton.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
@@ -141,8 +139,8 @@ public class CameraToolbar extends javax.swing.JToolBar {
             }
         });
 
-        enableOrtho.setFont(new java.awt.Font("Tahoma", 0, 8));
-        enableOrtho.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneviewer/icons/persp.png"))); // NOI18N
+        enableOrtho.setFont(new java.awt.Font("Tahoma", 0, 8)); // NOI18N
+        enableOrtho.setIcon(IconList.perspMode);
         enableOrtho.setText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.enableOrtho.text")); // NOI18N
         enableOrtho.setToolTipText(org.openide.util.NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.enableOrtho.toolTipText")); // NOI18N
         enableOrtho.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
@@ -151,7 +149,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
         enableOrtho.setMaximumSize(new java.awt.Dimension(27, 23));
         enableOrtho.setMinimumSize(new java.awt.Dimension(27, 23));
         enableOrtho.setPreferredSize(new java.awt.Dimension(50, 23));
-        enableOrtho.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneviewer/icons/ortho.png"))); // NOI18N
+        enableOrtho.setSelectedIcon(IconList.orthoMode);
         enableOrtho.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
         enableOrtho.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -167,7 +165,7 @@ public class CameraToolbar extends javax.swing.JToolBar {
                 .addComponent(viewButton)
                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                 .addComponent(enableOrtho, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
-                .addContainerGap(96, Short.MAX_VALUE))
+                .addContainerGap(116, Short.MAX_VALUE))
         );
         layout.setVerticalGroup(
             layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
@@ -306,7 +304,7 @@ private void enableOrthoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-F
             case User:
             default:
                 if (!isUserView) {
-                    viewButton.setIcon(userIcon);
+                    viewButton.setIcon(IconList.userMode);
                     viewButton.setText(NbBundle.getMessage(CameraToolbar.class, "CameraToolbar.viewButton.label"));
                     isUserView = true;
                 }

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/SceneExplorerTopComponent.java

@@ -31,6 +31,7 @@
  */
 package com.jme3.gde.core.sceneexplorer;
 
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.PreviewRequest;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.gde.core.scene.SceneListener;
@@ -59,7 +60,6 @@ import org.openide.explorer.view.BeanTreeView;
 import org.openide.nodes.Node;
 import org.openide.util.Exceptions;
 import org.openide.util.HelpCtx;
-import org.openide.util.ImageUtilities;
 import org.openide.util.Lookup;
 import org.openide.util.NbBundle;
 import org.openide.util.actions.SystemAction;
@@ -75,7 +75,6 @@ public final class SceneExplorerTopComponent extends TopComponent implements Exp
 
     private static SceneExplorerTopComponent instance;
     /** path to the icon used by the component and its open action */
-    static final String ICON_PATH = "com/jme3/gde/core/sceneexplorer/jme-logo.png";
     private static final String PREFERRED_ID = "SceneExplorerTopComponent";
     private SceneRequest request;
 //    private final Result<AbstractSceneExplorerNode> nodeSelectionResult;
@@ -89,7 +88,7 @@ public final class SceneExplorerTopComponent extends TopComponent implements Exp
         initActions();
         setName(NbBundle.getMessage(SceneExplorerTopComponent.class, "CTL_SceneExplorerTopComponent"));
         setToolTipText(NbBundle.getMessage(SceneExplorerTopComponent.class, "HINT_SceneExplorerTopComponent"));
-        setIcon(ImageUtilities.loadImage(ICON_PATH, true));
+        setIcon(IconList.jmeLogo.getImage());
         associateLookup(ExplorerUtils.createLookup(explorerManager, getActionMap()));
 //        nodeSelectionResult = Utilities.actionsGlobalContext().lookupResult(AbstractSceneExplorerNode.class);
 //        nodeSelectionResult.addLookupListener(this);

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAnimControl.java

@@ -32,6 +32,7 @@
 package com.jme3.gde.core.sceneexplorer.nodes;
 
 import com.jme3.animation.AnimControl;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.properties.AnimationProperty;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.gde.core.sceneexplorer.nodes.actions.TrackVisibilityPopup;
@@ -47,7 +48,6 @@ import org.openide.nodes.Node;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
 import org.openide.util.HelpCtx;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.BooleanStateAction;
 import org.openide.util.actions.SystemAction;
 
@@ -63,8 +63,7 @@ public class JmeAnimControl extends AbstractSceneExplorerNode {
     private boolean displayBoneTracks = false;
     private boolean displayEffectTracks = true;
     private boolean displayAudioTracks = true;
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/animationcontrol.gif");
+    private static Image smallImage = IconList.animControl.getImage();
 
     public JmeAnimControl() {
     }

+ 4 - 6
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAnimation.java

@@ -36,6 +36,7 @@ import com.jme3.animation.AnimControl;
 import com.jme3.animation.AnimEventListener;
 import com.jme3.animation.Animation;
 import com.jme3.animation.LoopMode;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.properties.AnimationProperty;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.gde.core.sceneexplorer.nodes.actions.ChannelDialog;
@@ -53,7 +54,6 @@ import org.openide.loaders.DataObject;
 import org.openide.nodes.Node;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 
 /**
  *
@@ -63,8 +63,6 @@ import org.openide.util.ImageUtilities;
 public class JmeAnimation extends AbstractSceneExplorerNode {
 
     private Animation animation;
-    private static final String ICON = "com/jme3/gde/core/sceneexplorer/nodes/icons/anim.png";
-    private static final String ICON_PLAY = "com/jme3/gde/core/sceneexplorer/nodes/icons/animPlay.png";
     private Image icon;
     private JmeAnimControl jmeControl;
     private boolean playing = false;
@@ -86,7 +84,7 @@ public class JmeAnimation extends AbstractSceneExplorerNode {
         setName(animation.getName());
         children.setAnimation(this);
         children.setAnimControl(jmeControl);
-        icon = ImageUtilities.loadImage(ICON);
+        icon = IconList.animation.getImage();
 
     }
 
@@ -104,10 +102,10 @@ public class JmeAnimation extends AbstractSceneExplorerNode {
 
     public void toggleIcon(boolean enabled) {
         if (!playing) {
-            icon = ImageUtilities.loadImage(ICON);
+            icon = IconList.animation.getImage();
 
         } else {
-            icon = ImageUtilities.loadImage(ICON_PLAY);
+            icon = IconList.animationPlay.getImage();
 
         }
         fireIconChange();

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAssetLinkNode.java

@@ -32,6 +32,7 @@
 package com.jme3.gde.core.sceneexplorer.nodes;
 
 import com.jme3.asset.ModelKey;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.gde.core.sceneexplorer.nodes.actions.AddUserDataAction;
 import com.jme3.gde.core.sceneexplorer.nodes.actions.NewControlPopup;
@@ -55,7 +56,6 @@ import org.openide.nodes.Children;
 import org.openide.nodes.Node;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.SystemAction;
 
 /**
@@ -65,8 +65,7 @@ import org.openide.util.actions.SystemAction;
 @org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
 public class JmeAssetLinkNode extends JmeNode {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/linknode.gif");
+    private static Image smallImage = IconList.link.getImage();
     private AssetLinkNode geom;
     private AssetLinkChildren linkChildren;
 

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeAudioNode.java

@@ -34,12 +34,12 @@ package com.jme3.gde.core.sceneexplorer.nodes;
 import com.jme3.audio.AudioNode;
 import com.jme3.audio.AudioNode.Status;
 import com.jme3.audio.Filter;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.properties.AudioDataProperty;
 import com.jme3.math.Vector3f;
 import java.awt.Image;
 import org.openide.loaders.DataObject;
 import org.openide.nodes.Sheet;
-import org.openide.util.ImageUtilities;
 
 /**
  *
@@ -48,8 +48,7 @@ import org.openide.util.ImageUtilities;
 @org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
 public class JmeAudioNode extends JmeNode {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/audionode.gif");
+    private static Image smallImage = IconList.sound.getImage();
     private AudioNode node;
 
     public JmeAudioNode() {

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeBitmapText.java

@@ -33,11 +33,11 @@ package com.jme3.gde.core.sceneexplorer.nodes;
 
 import com.jme3.font.BitmapFont;
 import com.jme3.font.BitmapText;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.math.ColorRGBA;
 import java.awt.Image;
 import org.openide.loaders.DataObject;
 import org.openide.nodes.Sheet;
-import org.openide.util.ImageUtilities;
 
 /**
  *
@@ -46,8 +46,7 @@ import org.openide.util.ImageUtilities;
 @org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
 public class JmeBitmapText extends JmeNode {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("/com/jme3/gde/core/sceneexplorer/nodes/icons/bitmaptext.gif");
+    private static Image smallImage = IconList.font.getImage();
     private BitmapText geom;
 
     public JmeBitmapText() {

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeBone.java

@@ -32,6 +32,7 @@
 package com.jme3.gde.core.sceneexplorer.nodes;
 
 import com.jme3.animation.Bone;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import java.awt.Image;
 import java.awt.datatransfer.DataFlavor;
@@ -44,7 +45,6 @@ import org.openide.awt.Actions;
 import org.openide.loaders.DataObject;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 
 /**
  *
@@ -53,8 +53,7 @@ import org.openide.util.ImageUtilities;
 @org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
 public class JmeBone extends AbstractSceneExplorerNode {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/bone.png");
+    private static Image smallImage = IconList.bone.getImage();
     private Bone bone;
     private JmeSkeletonControl jmeSkeletonControl;
     protected final DataFlavor BONE_FLAVOR = new DataFlavor(ClipboardSpatial.class, "Bone");

+ 3 - 2
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeCharacterControl.java

@@ -33,6 +33,7 @@ package com.jme3.gde.core.sceneexplorer.nodes;
 
 import com.jme3.bullet.collision.shapes.CollisionShape;
 import com.jme3.bullet.control.CharacterControl;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.math.Vector3f;
 import com.jme3.scene.Spatial;
@@ -41,6 +42,7 @@ import java.io.IOException;
 import java.util.concurrent.Callable;
 import java.util.concurrent.ExecutionException;
 import javax.swing.Action;
+import javax.swing.ImageIcon;
 import org.openide.actions.DeleteAction;
 import org.openide.loaders.DataObject;
 import org.openide.nodes.Sheet;
@@ -55,8 +57,7 @@ import org.openide.util.actions.SystemAction;
 @org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
 public class JmeCharacterControl extends AbstractSceneExplorerNode {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/player.gif");
+    private static Image smallImage = IconList.player.getImage();
     private CharacterControl geom;
 
     public JmeCharacterControl() {

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeDistanceLodCalculator.java

@@ -31,6 +31,7 @@
  */
 package com.jme3.gde.core.sceneexplorer.nodes;
 
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.terrain.geomipmap.TerrainLodControl;
 import com.jme3.terrain.geomipmap.lodcalc.DistanceLodCalculator;
@@ -43,7 +44,6 @@ import org.openide.loaders.DataObject;
 import org.openide.nodes.Children;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.SystemAction;
 
 
@@ -57,8 +57,7 @@ public class JmeDistanceLodCalculator extends AbstractSceneExplorerNode {
     private DistanceLodCalculator lodCalculator;
     private TerrainLodControl lodControl;
     
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/physicswheel.gif");
+    private static Image smallImage = IconList.wheel.getImage();
 
     public JmeDistanceLodCalculator() {
     }

+ 4 - 7
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeGenericControl.java

@@ -31,6 +31,7 @@
  */
 package com.jme3.gde.core.sceneexplorer.nodes;
 
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.properties.SceneExplorerProperty;
 import com.jme3.gde.core.properties.ScenePropertyChangeListener;
 import com.jme3.gde.core.scene.SceneApplication;
@@ -51,7 +52,6 @@ import org.openide.nodes.AbstractNode;
 import org.openide.nodes.Children;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.SystemAction;
 import org.openide.util.lookup.InstanceContent;
 import org.openide.util.lookup.ProxyLookup;
@@ -63,8 +63,7 @@ import org.openide.util.lookup.ProxyLookup;
 public class JmeGenericControl extends AbstractNode implements ScenePropertyChangeListener {
 
     private Control control;
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/animationcontrol.gif");
+    private static Image smallImage = IconList.wheel.getImage();
     private DataObject dobject;
     private InstanceContent lookupContents;
 
@@ -81,14 +80,12 @@ public class JmeGenericControl extends AbstractNode implements ScenePropertyChan
 
     @Override
     public Image getIcon(int type) {
-        return super.getIcon(type);
-//        return smallImage;
+        return smallImage;
     }
 
     @Override
     public Image getOpenedIcon(int type) {
-        return super.getOpenedIcon(type);
-//        return smallImage;
+        return smallImage;
     }
 
     @Override

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeGeometry.java

@@ -31,6 +31,7 @@
  */
 package com.jme3.gde.core.sceneexplorer.nodes;
 
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.gde.core.sceneexplorer.MaterialChangeListener;
 import com.jme3.gde.core.sceneexplorer.SceneExplorerTopComponent;
@@ -42,7 +43,6 @@ import java.io.IOException;
 import java.util.concurrent.Callable;
 import org.openide.loaders.DataObject;
 import org.openide.nodes.Sheet;
-import org.openide.util.ImageUtilities;
 
 /**
  *
@@ -51,8 +51,7 @@ import org.openide.util.ImageUtilities;
 @org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
 public class JmeGeometry extends JmeSpatial implements MaterialChangeListener {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/geometry.gif");
+    private static Image smallImage = IconList.geometry.getImage();
     private Geometry geom;
 
     public JmeGeometry() {

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeGhostControl.java

@@ -33,6 +33,7 @@ package com.jme3.gde.core.sceneexplorer.nodes;
 
 import com.jme3.bullet.collision.shapes.CollisionShape;
 import com.jme3.bullet.control.GhostControl;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.math.Quaternion;
 import com.jme3.math.Vector3f;
@@ -46,7 +47,6 @@ import org.openide.actions.DeleteAction;
 import org.openide.loaders.DataObject;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.SystemAction;
 
 /**
@@ -56,8 +56,7 @@ import org.openide.util.actions.SystemAction;
 @org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
 public class JmeGhostControl extends AbstractSceneExplorerNode {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/ghostcontrol.gif");
+    private static Image smallImage = IconList.ghostControl.getImage();
     private GhostControl geom;
 
     public JmeGhostControl() {

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeLight.java

@@ -31,6 +31,7 @@
  */
 package com.jme3.gde.core.sceneexplorer.nodes;
 
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.light.Light;
 import com.jme3.math.ColorRGBA;
@@ -45,7 +46,6 @@ import org.openide.nodes.Children;
 import org.openide.nodes.Node;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.SystemAction;
 
 /**
@@ -57,8 +57,7 @@ public class JmeLight extends AbstractSceneExplorerNode {
 
     private Spatial spatial;
     private Light light;
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/light.gif");
+    private static Image smallImage = IconList.light.getImage();
 
     public JmeLight() {
     }

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeMesh.java

@@ -31,6 +31,7 @@
  */
 package com.jme3.gde.core.sceneexplorer.nodes;
 
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.light.Light;
 import com.jme3.scene.Geometry;
@@ -45,7 +46,6 @@ import org.openide.actions.DeleteAction;
 import org.openide.nodes.Children;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.SystemAction;
 
 /**
@@ -57,8 +57,7 @@ public class JmeMesh extends AbstractSceneExplorerNode{
 
     private Geometry geom;
     private Mesh mesh;
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/mesh.gif");
+    private static Image smallImage = IconList.mesh.getImage();
 
     public JmeMesh() {
     }

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeNode.java

@@ -31,6 +31,7 @@
  */
 package com.jme3.gde.core.sceneexplorer.nodes;
 
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.gde.core.sceneexplorer.nodes.actions.AddUserDataAction;
 import com.jme3.gde.core.sceneexplorer.nodes.actions.NewControlPopup;
@@ -56,7 +57,6 @@ import org.openide.awt.Actions;
 import org.openide.loaders.DataObject;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.SystemAction;
 import org.openide.util.datatransfer.PasteType;
 
@@ -67,8 +67,7 @@ import org.openide.util.datatransfer.PasteType;
 @org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
 public class JmeNode extends JmeSpatial {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/node.gif");
+    private static Image smallImage = IconList.node.getImage();
     private Node node;
 
     public JmeNode() {

+ 3 - 5
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeParticleEmitter.java

@@ -37,6 +37,7 @@ import com.jme3.effect.influencers.DefaultParticleInfluencer;
 import com.jme3.effect.influencers.ParticleInfluencer;
 import com.jme3.effect.shapes.EmitterShape;
 import com.jme3.gde.core.assets.ProjectAssetManager;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.properties.ParticleInfluencerProperty;
 import com.jme3.gde.core.util.PropertyUtils;
 import com.jme3.math.ColorRGBA;
@@ -50,7 +51,6 @@ import org.openide.loaders.DataObject;
 import org.openide.nodes.Node;
 import org.openide.nodes.PropertySupport;
 import org.openide.nodes.Sheet;
-import org.openide.util.ImageUtilities;
 
 /**
  *
@@ -61,8 +61,7 @@ public class JmeParticleEmitter extends JmeGeometry {
 
     public JmeParticleEmitter() {
     }
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/particleemitter.gif");
+    private static Image smallImage = IconList.emitter.getImage();
     private ParticleEmitter geom;
 
     public JmeParticleEmitter(ParticleEmitter spatial, JmeSpatialChildren children) {
@@ -132,7 +131,7 @@ public class JmeParticleEmitter extends JmeGeometry {
 
         set2.setDisplayName("Particle Influencer" + " - " + obj.getParticleInfluencer().getClass().getSimpleName());
         set2.setName(obj.getParticleInfluencer().getClass().getName());
-        ParticleInfluencerProperty prop = new ParticleInfluencerProperty(obj,this, this.getLookup().lookup(ProjectAssetManager.class).getProject());
+        ParticleInfluencerProperty prop = new ParticleInfluencerProperty(obj, this, this.getLookup().lookup(ProjectAssetManager.class).getProject());
         prop.addPropertyChangeListener(this);
         set2.put(prop);
 
@@ -191,7 +190,6 @@ public class JmeParticleEmitter extends JmeGeometry {
 
     private Property createButtonProperty() {
         return new PropertySupport.ReadWrite<Object>("emit", Object.class, "Emit all particles", "Click here to emit all particles of this emitter ") {
-
             JmeParticleEmitterButtonProperty pe;
 
             @Override

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmePicture.java

@@ -31,11 +31,11 @@
  */
 package com.jme3.gde.core.sceneexplorer.nodes;
 
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.ui.Picture;
 import java.awt.Image;
 import org.openide.loaders.DataObject;
 import org.openide.nodes.Sheet;
-import org.openide.util.ImageUtilities;
 
 /**
  *
@@ -44,8 +44,7 @@ import org.openide.util.ImageUtilities;
 @org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
 public class JmePicture extends JmeGeometry {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/picture.gif");
+    private static Image smallImage = IconList.texture.getImage();
     private Picture geom;
 
     public JmePicture() {

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeRigidBodyControl.java

@@ -33,6 +33,7 @@ package com.jme3.gde.core.sceneexplorer.nodes;
 
 import com.jme3.bullet.collision.shapes.CollisionShape;
 import com.jme3.bullet.control.RigidBodyControl;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.math.Quaternion;
 import com.jme3.math.Vector3f;
@@ -46,7 +47,6 @@ import org.openide.actions.DeleteAction;
 import org.openide.loaders.DataObject;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.SystemAction;
 
 /**
@@ -56,8 +56,7 @@ import org.openide.util.actions.SystemAction;
 @org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
 public class JmeRigidBodyControl extends AbstractSceneExplorerNode {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/physicscontrol.gif");
+    private static Image smallImage = IconList.physicsControl.getImage();
     private RigidBodyControl geom;
 
     public JmeRigidBodyControl() {

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeSkeletonControl.java

@@ -32,6 +32,7 @@
 package com.jme3.gde.core.sceneexplorer.nodes;
 
 import com.jme3.animation.SkeletonControl;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.scene.Spatial;
 import java.awt.Image;
@@ -44,7 +45,6 @@ import org.openide.loaders.DataObject;
 import org.openide.nodes.Node;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.SystemAction;
 
 /**
@@ -55,8 +55,7 @@ import org.openide.util.actions.SystemAction;
 public class JmeSkeletonControl extends AbstractSceneExplorerNode {
 
     private SkeletonControl skeletonControl;
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/skeletonControl.gif");
+    private static Image smallImage = IconList.skeletonControl.getImage();
 
     public JmeSkeletonControl() {
     }

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTerrainGrid.java

@@ -31,6 +31,7 @@
  */
 package com.jme3.gde.core.sceneexplorer.nodes;
 
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.math.Vector3f;
 import com.jme3.terrain.geomipmap.TerrainGrid;
 import com.jme3.terrain.geomipmap.TerrainGridListener;
@@ -40,7 +41,6 @@ import java.util.logging.Level;
 import java.util.logging.Logger;
 import org.openide.loaders.DataObject;
 import org.openide.nodes.Sheet;
-import org.openide.util.ImageUtilities;
 
 /**
  *
@@ -49,8 +49,7 @@ import org.openide.util.ImageUtilities;
 @org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
 public class JmeTerrainGrid extends JmeTerrainQuad implements TerrainGridListener {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/terrain.png");
+    private static Image smallImage = IconList.terrain.getImage();
     private TerrainGrid geom;
 
     public JmeTerrainGrid() {

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTerrainLodControl.java

@@ -32,6 +32,7 @@
 package com.jme3.gde.core.sceneexplorer.nodes;
 
 
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.scene.Spatial;
 import com.jme3.terrain.geomipmap.TerrainLodControl;
@@ -49,7 +50,6 @@ import org.openide.nodes.Children;
 import org.openide.nodes.Node;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.SystemAction;
 
 /**
@@ -59,8 +59,7 @@ import org.openide.util.actions.SystemAction;
 @org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
 public class JmeTerrainLodControl extends AbstractSceneExplorerNode {
     
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/physicswheel.gif");
+    private static Image smallImage = IconList.wheel.getImage();
     private TerrainLodControl terrainLodControl;
     
     public JmeTerrainLodControl() {

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTerrainQuad.java

@@ -31,11 +31,11 @@
  */
 package com.jme3.gde.core.sceneexplorer.nodes;
 
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.terrain.geomipmap.TerrainQuad;
 import java.awt.Image;
 import org.openide.loaders.DataObject;
 import org.openide.nodes.Sheet;
-import org.openide.util.ImageUtilities;
 
 /**
  *
@@ -44,8 +44,7 @@ import org.openide.util.ImageUtilities;
 @org.openide.util.lookup.ServiceProvider(service=SceneExplorerNode.class)
 public class JmeTerrainQuad extends JmeNode {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/terrain.png");
+    private static Image smallImage = IconList.terrain.getImage();
     private TerrainQuad geom;
 
     public JmeTerrainQuad() {

+ 5 - 9
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTrack.java

@@ -37,6 +37,7 @@ import com.jme3.animation.AudioTrack;
 import com.jme3.animation.BoneTrack;
 import com.jme3.animation.EffectTrack;
 import com.jme3.animation.Track;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.properties.AudioTrackProperty;
 import com.jme3.gde.core.properties.EffectTrackEmitterProperty;
 import com.jme3.gde.core.properties.SceneExplorerProperty;
@@ -53,7 +54,6 @@ import org.openide.loaders.DataObject;
 import org.openide.nodes.Children;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.SystemAction;
 
 /**
@@ -63,14 +63,10 @@ import org.openide.util.actions.SystemAction;
 @org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
 public class JmeTrack extends AbstractSceneExplorerNode {
     
-    private static Image iconBoneTrack =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/boneTrack.png");
-    private static Image iconEffectTrack =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/effectTrack.png");
-    private static Image iconAudioTrack =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/audioTrack.png");
-    private static Image iconTrack =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/track.png");
+    private static Image iconBoneTrack = IconList.boneTrack.getImage();
+    private static Image iconEffectTrack = IconList.effectTrack.getImage();
+    private static Image iconAudioTrack = IconList.audioTrack.getImage();
+    private static Image iconTrack = IconList.track.getImage();
     private Track track;
     private AnimControl control;
     

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeVehicleControl.java

@@ -34,6 +34,7 @@ package com.jme3.gde.core.sceneexplorer.nodes;
 import com.jme3.bullet.collision.shapes.CollisionShape;
 import com.jme3.bullet.control.VehicleControl;
 import com.jme3.bullet.objects.VehicleWheel;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.math.Quaternion;
 import com.jme3.math.Vector3f;
@@ -51,7 +52,6 @@ import org.openide.nodes.Children;
 import org.openide.nodes.Node;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.SystemAction;
 
 /**
@@ -61,8 +61,7 @@ import org.openide.util.actions.SystemAction;
 @org.openide.util.lookup.ServiceProvider(service = SceneExplorerNode.class)
 public class JmeVehicleControl extends AbstractSceneExplorerNode {
 
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/vehicle.png");
+    private static Image smallImage = IconList.vehicle.getImage();
     private VehicleControl vehicle;
 
     public JmeVehicleControl() {

+ 2 - 3
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeVehicleWheel.java

@@ -33,6 +33,7 @@ package com.jme3.gde.core.sceneexplorer.nodes;
 
 import com.jme3.bullet.control.VehicleControl;
 import com.jme3.bullet.objects.VehicleWheel;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.light.Light;
 import com.jme3.math.Vector3f;
@@ -45,7 +46,6 @@ import org.openide.actions.DeleteAction;
 import org.openide.nodes.Children;
 import org.openide.nodes.Sheet;
 import org.openide.util.Exceptions;
-import org.openide.util.ImageUtilities;
 import org.openide.util.actions.SystemAction;
 
 /**
@@ -57,8 +57,7 @@ public class JmeVehicleWheel extends AbstractSceneExplorerNode{
 
     private VehicleWheel wheel;
     private VehicleControl vehicle;
-    private static Image smallImage =
-            ImageUtilities.loadImage("com/jme3/gde/core/sceneexplorer/nodes/icons/physicswheel.gif");
+    private static Image smallImage = IconList.wheel.getImage();
 
     public JmeVehicleWheel() {
     }

+ 4 - 4
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/AudioTrackVisualPanel1.form

@@ -1,4 +1,4 @@
-<?xml version="1.1" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 
 <Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
   <AuxValues>
@@ -95,7 +95,7 @@
                   </Group>
                   <EmptySpace max="-2" attributes="0"/>
                   <Component id="jLabel4" min="-2" max="-2" attributes="0"/>
-                  <EmptySpace pref="27" max="32767" attributes="0"/>
+                  <EmptySpace pref="28" max="32767" attributes="0"/>
               </Group>
           </Group>
         </DimensionLayout>
@@ -106,8 +106,8 @@
             <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
               <Font name="Tahoma" size="12" style="1"/>
             </Property>
-            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-              <Image iconType="3" name="/com/jme3/gde/core/sceneexplorer/nodes/icons/audioTrack.png"/>
+            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+              <Connection code="IconList.audioTrack" type="code"/>
             </Property>
             <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
               <ResourceString bundle="com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/Bundle.properties" key="AudioTrackVisualPanel1.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>

+ 3 - 2
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/AudioTrackVisualPanel1.java

@@ -33,6 +33,7 @@ package com.jme3.gde.core.sceneexplorer.nodes.actions.impl.tracks;
 
 import com.jme3.animation.Animation;
 import com.jme3.audio.AudioNode;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.sceneexplorer.nodes.JmeAnimation;
 import com.jme3.scene.Node;
 import com.jme3.scene.Spatial;
@@ -118,7 +119,7 @@ public final class AudioTrackVisualPanel1 extends JPanel {
         jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
 
         jLabel1.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
-        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneexplorer/nodes/icons/audioTrack.png"))); // NOI18N
+        jLabel1.setIcon(IconList.audioTrack);
         org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(AudioTrackVisualPanel1.class, "AudioTrackVisualPanel1.jLabel1.text")); // NOI18N
 
         jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
@@ -194,7 +195,7 @@ public final class AudioTrackVisualPanel1 extends JPanel {
                     .addComponent(jSlider1, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                 .addComponent(jLabel4)
-                .addContainerGap(27, Short.MAX_VALUE))
+                .addContainerGap(28, Short.MAX_VALUE))
         );
 
         javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);

+ 4 - 4
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/EffectTrackVisualPanel1.form

@@ -1,4 +1,4 @@
-<?xml version="1.1" encoding="UTF-8" ?>
+<?xml version="1.0" encoding="UTF-8" ?>
 
 <Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
   <AuxValues>
@@ -95,7 +95,7 @@
                   </Group>
                   <EmptySpace max="-2" attributes="0"/>
                   <Component id="jLabel4" min="-2" max="-2" attributes="0"/>
-                  <EmptySpace pref="27" max="32767" attributes="0"/>
+                  <EmptySpace pref="28" max="32767" attributes="0"/>
               </Group>
           </Group>
         </DimensionLayout>
@@ -106,8 +106,8 @@
             <Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
               <Font name="Tahoma" size="12" style="1"/>
             </Property>
-            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-              <Image iconType="3" name="/com/jme3/gde/core/sceneexplorer/nodes/icons/effectTrack.png"/>
+            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+              <Connection code="IconList.effectTrack" type="code"/>
             </Property>
             <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
               <ResourceString bundle="com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/Bundle.properties" key="EffectTrackVisualPanel1.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>

+ 3 - 2
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/actions/impl/tracks/EffectTrackVisualPanel1.java

@@ -33,6 +33,7 @@ package com.jme3.gde.core.sceneexplorer.nodes.actions.impl.tracks;
 
 import com.jme3.animation.Animation;
 import com.jme3.effect.ParticleEmitter;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.sceneexplorer.nodes.JmeAnimation;
 import com.jme3.scene.Node;
 import com.jme3.scene.Spatial;
@@ -118,7 +119,7 @@ public final class EffectTrackVisualPanel1 extends JPanel {
         jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
 
         jLabel1.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
-        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneexplorer/nodes/icons/effectTrack.png"))); // NOI18N
+        jLabel1.setIcon(IconList.effectTrack);
         org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(EffectTrackVisualPanel1.class, "EffectTrackVisualPanel1.jLabel1.text")); // NOI18N
 
         jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
@@ -194,7 +195,7 @@ public final class EffectTrackVisualPanel1 extends JPanel {
                     .addComponent(jSlider1, javax.swing.GroupLayout.PREFERRED_SIZE, 23, javax.swing.GroupLayout.PREFERRED_SIZE))
                 .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                 .addComponent(jLabel4)
-                .addContainerGap(27, Short.MAX_VALUE))
+                .addContainerGap(28, Short.MAX_VALUE))
         );
 
         javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);

+ 12 - 12
jme3-core/src/com/jme3/gde/core/sceneviewer/SceneViewerTopComponent.form

@@ -30,8 +30,8 @@
       <SubComponents>
         <Component class="javax.swing.JToggleButton" name="enableCamLight">
           <Properties>
-            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-              <Image iconType="3" name="/com/jme3/gde/core/sceneviewer/icons/lightbulb_off.gif"/>
+            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+              <Connection code="IconList.lightOff" type="code"/>
             </Property>
             <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
               <ResourceString bundle="com/jme3/gde/core/sceneviewer/Bundle.properties" key="SceneViewerTopComponent.enableCamLight.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@@ -41,8 +41,8 @@
             </Property>
             <Property name="focusable" type="boolean" value="false"/>
             <Property name="horizontalTextPosition" type="int" value="0"/>
-            <Property name="selectedIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-              <Image iconType="3" name="/com/jme3/gde/core/sceneviewer/icons/lightbulb.gif"/>
+            <Property name="selectedIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+              <Connection code="IconList.lightOn" type="code"/>
             </Property>
             <Property name="verticalTextPosition" type="int" value="3"/>
           </Properties>
@@ -52,8 +52,8 @@
         </Component>
         <Component class="javax.swing.JToggleButton" name="jToggleButton1">
           <Properties>
-            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-              <Image iconType="3" name="/com/jme3/gde/core/filters/icons/eye.gif"/>
+            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+              <Connection code="IconList.eyeOpen" type="code"/>
             </Property>
             <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
               <ResourceString bundle="com/jme3/gde/core/sceneviewer/Bundle.properties" key="SceneViewerTopComponent.jToggleButton1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@@ -73,8 +73,8 @@
         </Component>
         <Component class="javax.swing.JToggleButton" name="enableWireframe">
           <Properties>
-            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-              <Image iconType="3" name="/com/jme3/gde/core/sceneviewer/icons/box_color.gif"/>
+            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+              <Connection code="IconList.colorBox" type="code"/>
             </Property>
             <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
               <ResourceString bundle="com/jme3/gde/core/sceneviewer/Bundle.properties" key="SceneViewerTopComponent.enableWireframe.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
@@ -84,8 +84,8 @@
             </Property>
             <Property name="focusable" type="boolean" value="false"/>
             <Property name="horizontalTextPosition" type="int" value="0"/>
-            <Property name="selectedIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-              <Image iconType="3" name="/com/jme3/gde/core/sceneviewer/icons/box_wire.gif"/>
+            <Property name="selectedIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+              <Connection code="IconList.wireBox" type="code"/>
             </Property>
             <Property name="verticalTextPosition" type="int" value="3"/>
           </Properties>
@@ -99,8 +99,8 @@
         </Container>
         <Component class="javax.swing.JToggleButton" name="enableStats">
           <Properties>
-            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
-              <Image iconType="3" name="/com/jme3/gde/core/sceneviewer/icons/65.png"/>
+            <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
+              <Connection code="IconList.info" type="code"/>
             </Property>
             <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
               <ResourceString bundle="com/jme3/gde/core/sceneviewer/Bundle.properties" key="SceneViewerTopComponent.enableStats.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>

+ 7 - 6
jme3-core/src/com/jme3/gde/core/sceneviewer/SceneViewerTopComponent.java

@@ -25,6 +25,7 @@
 package com.jme3.gde.core.sceneviewer;
 
 import com.jme3.gde.core.filters.FilterExplorerTopComponent;
+import com.jme3.gde.core.icons.IconList;
 import com.jme3.gde.core.scene.SceneApplication;
 import com.jme3.gde.core.scene.SceneRequest;
 import com.jme3.input.awt.AwtKeyInput;
@@ -176,12 +177,12 @@ public final class SceneViewerTopComponent extends TopComponent {
 
         jToolBar1.setRollover(true);
 
-        enableCamLight.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneviewer/icons/lightbulb_off.gif"))); // NOI18N
+        enableCamLight.setIcon(IconList.lightOff);
         org.openide.awt.Mnemonics.setLocalizedText(enableCamLight, org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.enableCamLight.text")); // NOI18N
         enableCamLight.setToolTipText(org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.enableCamLight.toolTipText")); // NOI18N
         enableCamLight.setFocusable(false);
         enableCamLight.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
-        enableCamLight.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneviewer/icons/lightbulb.gif"))); // NOI18N
+        enableCamLight.setSelectedIcon(IconList.lightOn);
         enableCamLight.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
         enableCamLight.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -190,7 +191,7 @@ public final class SceneViewerTopComponent extends TopComponent {
         });
         jToolBar1.add(enableCamLight);
 
-        jToggleButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/filters/icons/eye.gif"))); // NOI18N
+        jToggleButton1.setIcon(IconList.eyeOpen);
         org.openide.awt.Mnemonics.setLocalizedText(jToggleButton1, org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.jToggleButton1.text")); // NOI18N
         jToggleButton1.setToolTipText(org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.jToggleButton1.toolTipText")); // NOI18N
         jToggleButton1.setFocusable(false);
@@ -204,12 +205,12 @@ public final class SceneViewerTopComponent extends TopComponent {
         jToolBar1.add(jToggleButton1);
         jToolBar1.add(jSeparator1);
 
-        enableWireframe.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneviewer/icons/box_color.gif"))); // NOI18N
+        enableWireframe.setIcon(IconList.colorBox);
         org.openide.awt.Mnemonics.setLocalizedText(enableWireframe, org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.enableWireframe.text")); // NOI18N
         enableWireframe.setToolTipText(org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.enableWireframe.toolTipText")); // NOI18N
         enableWireframe.setFocusable(false);
         enableWireframe.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
-        enableWireframe.setSelectedIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneviewer/icons/box_wire.gif"))); // NOI18N
+        enableWireframe.setSelectedIcon(IconList.wireBox);
         enableWireframe.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
         enableWireframe.addActionListener(new java.awt.event.ActionListener() {
             public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -219,7 +220,7 @@ public final class SceneViewerTopComponent extends TopComponent {
         jToolBar1.add(enableWireframe);
         jToolBar1.add(jPanel1);
 
-        enableStats.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jme3/gde/core/sceneviewer/icons/65.png"))); // NOI18N
+        enableStats.setIcon(IconList.info);
         org.openide.awt.Mnemonics.setLocalizedText(enableStats, org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.enableStats.text")); // NOI18N
         enableStats.setToolTipText(org.openide.util.NbBundle.getMessage(SceneViewerTopComponent.class, "SceneViewerTopComponent.enableStats.toolTipText")); // NOI18N
         enableStats.setFocusable(false);