List of usage examples for java.awt Color getColor
public static Color getColor(String nm, int v)
From source file:Main.java
public static void main(String[] args) { System.setProperty("myColor", "0XFFFFFF"); Color myColor = Color.getColor("myColorNew", 0XFF00FF); System.out.println(myColor);/*from w ww . j a v a 2 s. com*/ }
From source file:Main.java
public static void main(String[] args) { System.setProperty("myColor", "0XFFFFFF"); Color myColor = Color.getColor("myColorNew", Color.RED); System.out.println(myColor);/*from w w w . j a v a2 s .co m*/ }