Java Random Color getRandomColor()

Here you can find the source of getRandomColor()

Description

get Random Color

License

Open Source License

Declaration

public static Color getRandomColor() 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.awt.Color;
import java.util.Random;

public class Main {
    private static final Random RND = new Random();

    public static Color getRandomColor() {
        return new Color(RND.nextInt());
    }/*from  w ww. j  a  v a 2 s. c  om*/
}

Related

  1. getRandColor(int fc, int bc)
  2. getRandColor(int fc, int bc)
  3. getRandColor(int fc, int bc)
  4. getRandom()
  5. getRandomColor()
  6. getRandomColor()
  7. GetRandomColor()
  8. getRandomColor()
  9. getRandomColor()