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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JVMcurrent()booleanisOneDotFive()booleanisOneDotFour()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
-
-
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()
-
-