Package nu.fw.jeti.backend

Examples of nu.fw.jeti.backend.URLClassloader


  {
    ClassLoader classLoader=null;
        if (!Start.applet && !Start.webstart) {
            try {
        URL url = new URL(Start.programURL, "languages/");
                classLoader = new URLClassloader(
                    new URL[] { url}, I18N.class.getClassLoader());
            } catch (MalformedURLException e) {
        e.printStackTrace();
      }
    } else classLoader = I18N.class.getClassLoader();
View Full Code Here


         
          btnOK.addActionListener(new java.awt.event.ActionListener()
          {
            public void actionPerformed(ActionEvent e)
            {
              URLClassloader classloader = (URLClassloader)UIManager.get("ClassLoader");
              try {
                Class s = classloader.loadClass("org.compiere.plaf.CompierePLAFEditor");
                Constructor c = s.getConstructor(new Class[] {Frame.class,boolean.class});
                c.newInstance(new Object[] {backend.getMainFrame(),Boolean.TRUE});
                Class s2 = classloader.loadClass("org.compiere.util.Ini");
                Method m = s2.getMethod("saveProperties",new Class[] {boolean.class});
                m.invoke(null, new Object[] {Boolean.FALSE});
              } catch (Exception e2)
              {
                e2.printStackTrace();
View Full Code Here

  {
    PluginsInfo.backend = backend;
   
    if(!Start.applet)
     {
      classLoader = new URLClassloader(new URL[]{Start.programURL}, getClass().getClassLoader());
      UIManager.put("ClassLoader", classLoader);
    }   
    new PluginData(parser);   
   
  //  nu.fw.jeti.plugins.xmppuri.Plugin.init(backend);
View Full Code Here

TOP

Related Classes of nu.fw.jeti.backend.URLClassloader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.