Setting the text or alternate color does not need to invalidate the label

(and MultiLineLabel does that right before calling render).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1647 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2005-05-23 20:37:23 +00:00
parent dc79b471f3
commit bd96e6bd5c
@@ -154,7 +154,6 @@ public class Label implements SwingConstants, LabelStyleConstants
public void setTextColor (Color color) public void setTextColor (Color color)
{ {
_textColor = color; _textColor = color;
_layouts = null;
} }
/** /**
@@ -175,7 +174,6 @@ public class Label implements SwingConstants, LabelStyleConstants
public void setAlternateColor (Color color) public void setAlternateColor (Color color)
{ {
_alternateColor = color; _alternateColor = color;
_layouts = null;
} }
/** /**