1 Reply Latest reply: Sep 25, 2008 1:02 PM by 843851 RSS

    content not visible while using DVBClassLoader

    843851
      Hi, we have a problem with DVBClassLoader. We need to download several *.class files from WWW server in our application. The file is downloaded, but the problem is that the content is not visible for main Xlet class. Can someone help us please???

      try {
                     classPath[0] = new java.net.URL("file:" + sBuffer.toString());
                     System.out.println("URL is " + classPath[0]);
                     classPath[1] = new java.net.URL("http://XXX.YYY.146.233/");
                } catch (MalformedURLException e) {
                }
                cl = DVBClassLoader.newInstance(classPath);
                try {
                     cl.findClass("SecondClass");
                     System.out.println("SecondClass read");
                } catch (ClassNotFoundException e) {

                }
                secondClass = new SecondClass(context, scene, mainContainer, telo);
                secondClass.display(path1);