2 Replies Latest reply on Jan 17, 2012 10:24 PM by Jörg

    NoClassDefFoundError in executable jar


      I have a class with several static methods. One of them uses a static
      inner class of the same file. Both lines in the code below compile and work
      without error, but when running the program from a jar-file, I get a
      How can I refer to that inner class then?
      public class MyClass {
          public static String myMethod() {
           tree.setCellRenderer(new MyInnerClass());
      //     tree.setCellRenderer(new MyClass.MyInnerClass());
          public static class MyInnerClass() extends DefaultTreeCellRenderer {