Help with JList formatting
807599Mar 3 2007 — edited Mar 3 2007Hello. :o)
I am a student taking beginner Java class. I have created a JList that has items such as
Blueberry Muffins 0.85
Toast 2.00
Coffee 0.90
Vanilla Ice Cream 2.90
etc
I can't seem to be able to line it up so that prices are all justified right. I don't know if I am using the right words here. But I would like the last digit in the price to line up with each other. I have tried spacing it using space bar, but won't line up. I can't tab it, it just ignores the tab.
Is there a way of doing this? I have looked into my textbook, but I cannot find anything.
Thank You kindly.