Hello, About two months ago I stumbled across some Look and Feel Guidelines for JTable. It had info about how data in the table should be aligned. I've since tried to find that but can't find anything in the Look and Feel Guidlines about alignment of data in tables. There is info about tables but not the stuff I found before. Does anybody know where that info about alignment is? Many thanks. With Respect, Matt
Well the data in a table is aligned based on it's type. I guess String are left aligned, Ints are right aligned and so on. You can easily change that default setting. I thought that I have had the link bookmarked for the page that describes it but I can't find it now. There is some information here but I am sure You have looked it already. http://web2.java.sun.com/docs/books/tutorial/uiswing/components/table.html Vladan
This raises a question about the amount of beautification of the table data. Have you formatted the dollar amounts to include dollar signs, and commas? What about the duration info being expanded to "minutes",etc? Just wanted to get a feel for what others are doing here...
posted 19 years ago
I haven't touched the data at all and have no plans to do so. There's nothing about it in the spec for me, so I'm not going to. There are a million things that I'm worried about as time to submit draws nigh, but that one doesn't bother me. Hope that helps. With Respect, Matt
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!