aboutsummaryrefslogtreecommitdiffstats
path: root/gl4java/GLContext.java.skel
diff options
context:
space:
mode:
Diffstat (limited to 'gl4java/GLContext.java.skel')
-rw-r--r--gl4java/GLContext.java.skel8
1 files changed, 5 insertions, 3 deletions
diff --git a/gl4java/GLContext.java.skel b/gl4java/GLContext.java.skel
index c011f94..69a63a5 100644
--- a/gl4java/GLContext.java.skel
+++ b/gl4java/GLContext.java.skel
@@ -883,8 +883,10 @@ public class GLContext extends Object
}
}
+ public static String getJVMVersion() { return jvmVersion; }
public static int getJVMVersionMajor() { return jvmVersionMajor; }
public static int getJVMVersionMinor() { return jvmVersionMinor; }
+
public static String getJVMVendor() { return jvmVendor; }
public static boolean isNetscapeJVM() { return isNetscapeJvm; }
public static boolean isMicrosoftJVM() { return isMicrosoftJvm; }
@@ -2458,9 +2460,9 @@ public class GLContext extends Object
if(libsLoaded==false || gl==null || glu==null || !gljIsInit())
return null;
- String jvmstr = "Java Virtual Machine: Version "+ getJVMVersionMajor()+
- "." + getJVMVersionMinor() +", Vendor: "+
- getJVMVendor() + "\n" ;
+ String jvmstr = "Java Virtual Machine: Version "+ getJVMVersion() +
+ " ("+getJVMVersionMajor()+"."+getJVMVersionMinor()+")"+
+ ", Vendor: "+ getJVMVendor() + "\n" ;
String info1= "GL4Java - LGPL-Version" + "\n" +
"-------------------------------------------------\n" +