Hi,
I'm having a problem with the tabbing space in string. Here's the code (within a class that extends DefaultListCellRenderer):
super.setText(date + "\t\t\t\t\t\t\t\t\t\t" + Double.toString(data.getDailyHigh()) + "\t\t\t\t\t\t\t\t\t\t\t" + Double.toString(data.getDailyLow()) + "\t\t\t\t\t\t\t\t\t\t\t" + Double.toString(data.getPreviousClose()) + "\t\t\t\t\t\t\t\t\t\t\t" + Double.toString(data.getTrueRange()) + "\t\t\t\t\t\t\t\t\t\t\t" + Double.toString(data.getN()));
heres the output:
As you can see, the tab spacing is only one space which makes \t completely pointless and useless.
Any suggestions?