summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/LocalInitializerVariableNotBlank.java
blob: 6311a154e96841acf13a54631596496dc9ca1525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import java.awt.Color;

public class LocalInitializerVariableNotBlank {

    static Color[] greys;

    static {
        greys=new Color[16];
        int gr;
        for(int i=0;i<greys.length;i++) {
            gr=(int)(170.0*(1.0-Math.pow(i/15.0,2.3)));
            greys[i]=new Color(gr,gr,gr);
        }
    }

    public static void main(String[] args) {
    }
}