I have the following code, and I want it to use the colorarrayfrom file, is it is entered, and use a random colorarray if it isleft empty. I get an error saying: Array constants can only be usedin initializers. Hope someone can help.
private static int[][] colors;
![String cFieldcolorField.getTextO; if (cField.equals()) -i 87 int red[] = new int [COLOR-1]; int greennew int[COLOR-1]; int bluenewint COLOR-11 Random random new Random(); for(int i = 0: i < COLOR-1; i++){ 89 90 91 92 93 94 95 96 97 98 redi -random.nextIntCOLOR-1: green [i] = random. nextInt(COLOR-1); bluerilrandom.nextInt(COLOR-1: colors = ?reg,..green blue ; } else l 100 101 colors = loadColors(cField); 102 103](https://d2vlcm61l7u1fs.cloudfront.net/media%2F128%2F128c3aa4-f29f-4737-aebf-1e254449854e%2Fphp7O2jGY.png)
Example
PayPal Gateway not configured
PayPal Gateway not configured