From 4eadb89ac524f01a24f8e876b6cdea1ff9ae3bcf Mon Sep 17 00:00:00 2001 From: Doublestrike Date: Tue, 6 Mar 2012 09:02:36 +0000 Subject: [PATCH] Splash frame: Disclaimer color updated to be the same as filled progress bar text color. --- src/main/java/forge/view/SplashFrame.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/forge/view/SplashFrame.java b/src/main/java/forge/view/SplashFrame.java index 698f797159e..35eb2d8c0a1 100644 --- a/src/main/java/forge/view/SplashFrame.java +++ b/src/main/java/forge/view/SplashFrame.java @@ -34,6 +34,7 @@ import javax.swing.JPanel; import javax.swing.KeyStroke; import javax.swing.SwingConstants; import javax.swing.SwingUtilities; +import javax.swing.UIManager; import forge.gui.toolbox.FProgressBar; import forge.gui.toolbox.FSkin; @@ -50,7 +51,6 @@ public class SplashFrame extends JFrame { private static final int DISCLAIMER_HEIGHT = 20; private static final int DISCLAIMER_TOP = 300; private static final int DISCLAIMER_FONT_SIZE = 9; - private static final Color DISCLAIMER_COLOR = Color.white; private static final int CLOSEBTN_PADDING_Y = 15; private static final int CLOSEBTN_SIDELENGTH = 15; @@ -100,7 +100,7 @@ public class SplashFrame extends JFrame { lblDisclaimer.setFont(new Font("Tahoma", Font.PLAIN, SplashFrame.DISCLAIMER_FONT_SIZE)); lblDisclaimer.setHorizontalAlignment(SwingConstants.CENTER); - lblDisclaimer.setForeground(SplashFrame.DISCLAIMER_COLOR); + lblDisclaimer.setForeground(UIManager.getColor("ProgressBar.selectionForeground")); pnlContent.add(lblDisclaimer); // Add close button