Hi,
I'm using a JList to display a
string, but the string is separated by tabs into different fields. The JList doesnt recognise the tabs, and shows all the fields without spaces between them. To address this issue I used below code.
This code is working but the problem is if we have 3 tab characters in a single string only first tab character is getting replaced with the given width of tab stop other tab charecters are not getting replaced with the given width of tab stop.