From a2fda76f81feb91e81323435ee86ef51b867f518 Mon Sep 17 00:00:00 2001 From: Konstantin Bulenkov Date: Sat, 24 Oct 2015 03:34:21 +0200 Subject: [PATCH] Color.red -> JBColor.red (cherry picked from commit 284bb29089c69e0eb8a364df0245cb38bea90d91) --- .../openapi/roots/ui/configuration/ContentRootPanel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/ContentRootPanel.java b/platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/ContentRootPanel.java index 71b9ebcd205d..8bc63d157163 100644 --- a/platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/ContentRootPanel.java +++ b/platform/lang-impl/src/com/intellij/openapi/roots/ui/configuration/ContentRootPanel.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2014 JetBrains s.r.o. + * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -242,7 +242,7 @@ public abstract class ContentRootPanel extends JPanel { String path = toRelativeDisplayPath(folder.getUrl(), getContentEntry().getUrl()); final JLabel pathLabel = new JLabel(path + properties); pathLabel.setOpaque(false); - pathLabel.setForeground(Color.RED); + pathLabel.setForeground(JBColor.RED); return new UnderlinedPathLabel(pathLabel); }