Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
import java.awt.Color;

public class Main {
    public static Color parseToColor(String rgbString) {
        if (rgbString == null)
            return null;
        int rgb = Integer.valueOf(rgbString);
        return new Color(rgb);
    }
}