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:
@@ -154,7 +154,6 @@ public class Label implements SwingConstants, LabelStyleConstants
|
||||
public void setTextColor (Color color)
|
||||
{
|
||||
_textColor = color;
|
||||
_layouts = null;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -175,7 +174,6 @@ public class Label implements SwingConstants, LabelStyleConstants
|
||||
public void setAlternateColor (Color color)
|
||||
{
|
||||
_alternateColor = color;
|
||||
_layouts = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user