From f3fab24980879df4f0c784936a8aeab19c4a1b83 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 31 Oct 2012 16:36:22 +0000 Subject: Set foreground color to black git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12664 3a0b52a2-8410-0410-bc02-ff6273a87459 --- .../src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'trunk/pdf-over-gui/src') diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java index 5ee261f1..a3e95e23 100644 --- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/controls/MainBarButton.java @@ -83,7 +83,8 @@ public abstract class MainBarButton extends Canvas { this.inactiveBackground = new Color(getDisplay(),0xD4, 0xE7, 0xF1); this.activeBackground1 = new Color(getDisplay(),0x6B, 0xA5, 0xD9); this.activeBackground = new Color(getDisplay(),0xB4, 0xCD, 0xEC); - this.textColor = this.getForeground(); + //this.textColor = this.getForeground(); + this.textColor = new Color(getDisplay(), 0x00, 0x00, 0x00); this.borderColor = new Color(getDisplay(), 0xf9, 0xf9, 0xf9); this.inactiveText = new Color(getDisplay(), 0x40, 0x40, 0x40); this.textsize = StateComposite.TEXT_SIZE_BUTTON; -- cgit v1.2.3