Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.awt.Color;

public class Main {
    public static void main(String[] args) {
        System.setProperty("myColor", "0XFFFFFF");
        Color myColor = Color.getColor("myColorNew", Color.RED);

        System.out.println(myColor);

    }
}