throwIfUntrusted();
//NativeLibrary.addSearchPath("unitsync", unitsyncPathFull);
//Preferences.userRoot().put("unitsync.path", "unitsync");
final WeblobbyApplet weblobbyApplet = this;
UnitsyncImpl unitsync = AccessController.doPrivileged(new PrivilegedAction<UnitsyncImpl>() {
public UnitsyncImpl run()
{
try
{
//echoJs("unitsyncPathFull = " + unitsyncPathFull);
File f = new File(unitsyncPath);
{
if( !f.exists() )
{
return null;
}
}
/** /
Preferences.userRoot().put("unitsync.path", unitsyncPathFull);
return new UnitsyncImpl();
/**/
UnitsyncImpl test = new UnitsyncImpl( unitsyncPath, weblobbyApplet );
return test;
}
catch (Exception e)
{