0 Replies Latest reply on Jul 17, 2003 2:25 PM by myoranges

    Web Start with Jboss

    myoranges

      I try to launch the swing application (JFrame) from a browser using Web Start/JNLP. However, the following line:

      addWindowListener (new java.awt.event.WindowAdapter() {
      public void windowClosing(WindowEvent e) {
      exit();
      }
      });

      causes NoClassDefFoundError. I added couple lines as follows, hoping to solve the problem:

      loader = getClass().getClassLoader();
      Thread.currentThread().setContextClassLoader(loader);

      but it throws new exception:

      java.security.AccessControlException: access denied

      Is anyone know what I am doing wrong? Any help would be appreciated.

      Thank you.