SimpleColoredComponent. IconOpaque - false by default, try to fix a lot of bugs with renderer components.

This commit is contained in:
Evgeny Zakrevsky
2012-11-23 21:07:58 +04:00
parent 6f9be01024
commit 8e25ee0e2e
@@ -93,7 +93,7 @@ public class SimpleColoredComponent extends JComponent implements Accessible {
@JdkConstants.HorizontalAlignment private int myTextAlign = SwingConstants.LEFT;
private boolean myIconOpaque = true;
private boolean myIconOpaque = false;
private boolean myAutoInvalidate = !(this instanceof TreeCellRenderer);