Package net.sf.jiga.xtended.kernel

Examples of net.sf.jiga.xtended.kernel.JXAenvUtils.loadResource()


                } else {
                    /**
                     * backup new installed files
                     */
                    env.setJXAenvPath(FileHelper._USERHOMESTOREDIRECTORY.getPath());
                    env.loadResource();
                }
                envPaths.add(env.getJXAenvPath());
                env = _installExtensions(_getJXANatenvFiles(null, (setIt & SET_LOCAL) != 0), true, FileHelper._USERHOMESTOREDIRECTORY);
                if (!env.isResourceLoaded() || env.hasLoadErrors()) {
                    throw new Exception("JXANat env failed.");
View Full Code Here


                } else {
                    /**
                     * backup new installed files
                     */
                    env.setJXAenvPath(FileHelper._USERHOMESTOREDIRECTORY.getPath());
                    env.loadResource();
                }
                envPaths.add(env.getJXAenvPath());
                InputStream inAppInstaller = ExtensionsInstaller.class.getResourceAsStream("/setup.zip");
                if (inAppInstaller != null) {
                    String message = "<html>installing " + installerPath + "...</html>";
View Full Code Here

    @return true if the registry file's been successfully found and installed*/
    public static boolean _installJMFRegistry(File cpDir) {
        JXAenvUtils env = new JXAenvUtils(ExtensionsClassLoader.getInstance().getClassLoader());
        env.addEnvFile("jmfRegistry", env.getEnvClassLoader().getResource("jmf.properties"));
        env.setJXAenvPath(cpDir.getPath());
        env.loadResource();
        return env.isResourceLoaded();
    }

    /** allows a Swing context to be run with a returned value.
    it checks if the {@linkplain SwingUtilities#invokeAndWait(Runnable)} can be run (if not,
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.