Package org.jdesktop.swingx.util
Class JVM
- java.lang.Object
-
- org.jdesktop.swingx.util.JVM
-
public class JVM extends java.lang.ObjectDeals with the different version of the Java Virtual Machine.
-
-
Field Summary
Fields Modifier and Type Field Description private static JVMcurrentstatic intJDK1_0static intJDK1_1static intJDK1_2static intJDK1_3static intJDK1_4static intJDK1_5static intJDK1_6static intJDK1_6Nstatic intJDK1_7static intJDK1_8static intJDK1_9private intjdkVersion
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JVMcurrent()booleanisOneDotEight()booleanisOneDotFive()booleanisOneDotFour()booleanisOneDotNine()booleanisOneDotOne()booleanisOneDotSeven()booleanisOneDotSix()booleanisOneDotSixUpdateN()Determines if the version of JDK1_6 has Nimbus Look and Feel installed.booleanisOneDotThree()booleanisOneDotTwo()booleanisOrLater(int p_Version)
-
-
-
Field Detail
-
JDK1_0
public static final int JDK1_0
- See Also:
- Constant Field Values
-
JDK1_1
public static final int JDK1_1
- See Also:
- Constant Field Values
-
JDK1_2
public static final int JDK1_2
- See Also:
- Constant Field Values
-
JDK1_3
public static final int JDK1_3
- See Also:
- Constant Field Values
-
JDK1_4
public static final int JDK1_4
- See Also:
- Constant Field Values
-
JDK1_5
public static final int JDK1_5
- See Also:
- Constant Field Values
-
JDK1_6
public static final int JDK1_6
- See Also:
- Constant Field Values
-
JDK1_6N
public static final int JDK1_6N
- See Also:
- Constant Field Values
-
JDK1_7
public static final int JDK1_7
- See Also:
- Constant Field Values
-
JDK1_8
public static final int JDK1_8
- See Also:
- Constant Field Values
-
JDK1_9
public static final int JDK1_9
- See Also:
- Constant Field Values
-
current
private static JVM current
-
jdkVersion
private int jdkVersion
-
-
Method Detail
-
current
public static JVM 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:
trueif Nimbus is available and the version is 1.6;falseotherwise
-
isOneDotSeven
public boolean isOneDotSeven()
-
isOneDotEight
public boolean isOneDotEight()
-
isOneDotNine
public boolean isOneDotNine()
-
-