|
|
@ -84,7 +84,7 @@ public class UILabel extends JLabel implements UITextComponent { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
String text = this.getText(); |
|
|
|
String text = this.getText(); |
|
|
|
if (text.length() > 1 && text.charAt(text.length() - 1) == ':') { |
|
|
|
if (StringUtils.isNotEmpty(text) && text.length() > 1 && text.charAt(text.length() - 1) == ':') { |
|
|
|
text = ":" + text.substring(0, text.length() - 1); |
|
|
|
text = ":" + text.substring(0, text.length() - 1); |
|
|
|
this.setText(text); |
|
|
|
this.setText(text); |
|
|
|
} |
|
|
|
} |
|
|
|