From 21e2a80f7db56c011481d65d5bcb458654226e20 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 21 Jan 2005 18:32:14 +0000 Subject: [PATCH] ForegroundColor is darker.darker.darker --- src/jalview/gui/UserDefinedColours.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jalview/gui/UserDefinedColours.java b/src/jalview/gui/UserDefinedColours.java index 28f0474..fd9f1bc 100755 --- a/src/jalview/gui/UserDefinedColours.java +++ b/src/jalview/gui/UserDefinedColours.java @@ -66,6 +66,7 @@ public class UserDefinedColours extends GUserDefinedColours implements ChangeLis button.setBackground( col ); oldColours.addElement( col ); button.setText( label ); + button.setForeground( col.darker().darker().darker() ); button.setFont(new java.awt.Font("Verdana", 1, 10)); button.addMouseListener(new java.awt.event.MouseAdapter() { -- 1.7.10.2