X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FColorUtils.java;h=24128eae2b884c5395c28f69ba11915a90e0db96;hb=25e192bb674beff817997afd29e2bfd0fb75a830;hp=0e44f341d723f72fa196a6d9f7c9b38637a63a2b;hpb=ccc53e88e3260886f5d3bdacc619c0f374be9b8f;p=jalview.git diff --git a/src/jalview/util/ColorUtils.java b/src/jalview/util/ColorUtils.java index 0e44f34..24128ea 100644 --- a/src/jalview/util/ColorUtils.java +++ b/src/jalview/util/ColorUtils.java @@ -236,10 +236,7 @@ public class ColorUtils if ("random".equals(colour)) { - Random rand = new Random(); - col = new Color(rand.nextInt(256), rand.nextInt(256), - rand.nextInt(256)); - return col; + return generateRandomColor(null); } try