ArrayList<Integer> initgenome = new ArrayList<>(5000); initgenome.addAll(Collections.nCopies(10, 1)); initgenome.addAll(Collections.nCopies(4990, 0)); ArrayList<Integer> genometwo = new ArrayList<>(5000); genometwo.addAll(Collections.nCopies(10, 2)); genometwo.addAll(Collections.nCopies(4990, 0)); ArrayList<Integer> genomethree = new ArrayList<>(5000); genomethree.addAll(Collections.nCopies(10, 3)); genomethree.addAll(Collections.nCopies(4990, 0)); ArrayList<Integer> genomefour = new ArrayList<>(5000); genomefour.addAll(Collections.nCopies(10, 4)); genomefour.addAll(Collections.nCopies(4990, 0)); I am doing a project in Eclipse using Java and I have my objects randomly picking one of these genomes when initializing. I was curious if there was anyway to set a color to a each arraylist so you could visually see the genome that got picked? Thanks!