Exemple #1
0
 public static JavaRuntime GetJavaRuntime()
 {
     if (instance == null)
     {
         instance = new JavaRuntime();
     }
     return(instance);
 }
Exemple #2
0
        public static object NewInstance(string className)
        {
            Type type = JavaRuntime.ClassforName(className);

            return(Activator.CreateInstance(type));
        }