IntelliJ Java IDE
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes L&F JTable Guidelines Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "L&F JTable Guidelines" Watch "L&F JTable Guidelines" New topic
Author

L&F JTable Guidelines

Matt DeLacey
Ranch Hand

Joined: Oct 12, 2000
Posts: 318
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
Vladan Radovanovic
Ranch Hand

Joined: Mar 20, 2000
Posts: 216
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
Douglas Kent
Ranch Hand

Joined: Oct 06, 2000
Posts: 171
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...
Matt DeLacey
Ranch Hand

Joined: Oct 12, 2000
Posts: 318
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
 
 
subject: L&F JTable Guidelines
 
Threads others viewed
JTable
jtable
jtable
JTable(!!!)
Columns on JTable
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture