ForegroundColor is darker.darker.darker
authoramwaterhouse <Andrew Waterhouse>
Fri, 21 Jan 2005 18:32:14 +0000 (18:32 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 21 Jan 2005 18:32:14 +0000 (18:32 +0000)
src/jalview/gui/UserDefinedColours.java

index 28f0474..fd9f1bc 100755 (executable)
@@ -66,6 +66,7 @@ public class UserDefinedColours extends GUserDefinedColours implements ChangeLis
     button.setBackground(  col );\r
     oldColours.addElement( col );\r
     button.setText( label );\r
+    button.setForeground( col.darker().darker().darker() );\r
     button.setFont(new java.awt.Font("Verdana", 1, 10));\r
     button.addMouseListener(new java.awt.event.MouseAdapter()\r
     {\r