I\'m trying to update a JLabel with new text and I need this text to have tabed space.
This is my code:
public void setNewLabelTxt(String text) { nam
JLabel doesn't render \t in any special way (ie, it doesn't convert the \t to spaces before rendering it).
JLabel
\t
Instead, you should use something like
text = text.replaceAll("\t", " ");
Before applying it to the label.