Package org.jdesktop.swingx.util
Class JVM
java.lang.Object
org.jdesktop.swingx.util.JVM
Deals with the different version of the Java Virtual Machine.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static JVM
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
private int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
JDK1_0
public static final int JDK1_0- See Also:
-
JDK1_1
public static final int JDK1_1- See Also:
-
JDK1_2
public static final int JDK1_2- See Also:
-
JDK1_3
public static final int JDK1_3- See Also:
-
JDK1_4
public static final int JDK1_4- See Also:
-
JDK1_5
public static final int JDK1_5- See Also:
-
JDK1_6
public static final int JDK1_6- See Also:
-
JDK1_6N
public static final int JDK1_6N- See Also:
-
JDK1_7
public static final int JDK1_7- See Also:
-
JDK1_8
public static final int JDK1_8- See Also:
-
JDK1_9
public static final int JDK1_9- See Also:
-
current
-
jdkVersion
private int jdkVersion
-
-
Constructor Details
-
JVM
public JVM()Creates a new JVM data from thejava.version
System property -
JVM
Constructor for the OS object
-
-
Method Details
-
current
- Returns:
- the current JVM object
-
isOrLater
public boolean isOrLater(int p_Version) -
isOneDotOne
public boolean isOneDotOne() -
isOneDotTwo
public boolean isOneDotTwo() -
isOneDotThree
public boolean isOneDotThree() -
isOneDotFour
public boolean isOneDotFour() -
isOneDotFive
public boolean isOneDotFive() -
isOneDotSix
public boolean isOneDotSix() -
isOneDotSixUpdateN
public boolean isOneDotSixUpdateN()Determines if the version of JDK1_6 has Nimbus Look and Feel installed.- Returns:
true
if Nimbus is available and the version is 1.6;false
otherwise
-
isOneDotSeven
public boolean isOneDotSeven() -
isOneDotEight
public boolean isOneDotEight() -
isOneDotNine
public boolean isOneDotNine()
-