Fix message box background for GTK+ L&F

This commit is contained in:
Roman Shevchenko
2011-10-06 19:31:52 +02:00
parent 7d95d41547
commit 4257131f8d
7 changed files with 19 additions and 46 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2010 JetBrains s.r.o.
* Copyright 2000-2011 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.
@@ -407,7 +407,7 @@ public class ConfigurationErrorsComponent extends JPanel implements Disposable,
myFakeTextPane.setBorder(BorderFactory.createEmptyBorder(3, 0, 3, 0));
myText.setOpaque(false);
if (UIUtil.isUnderNimbusLookAndFeel()) {
myText.setBackground(new Color(0, 0, 0, 0));
myText.setBackground(UIUtil.TRANSPARENT_COLOR);
}
myText.setEditable(false);