Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / February 2005

Tip: Looking for answers? Try searching our database.

Right align cell values in JTable ?

Thread view: 
Ulf Meinhardt - 22 Feb 2005 20:25 GMT
I would like to right align all values (not the headers) of column num 7 in a JTable.
Do I really need to install a DefaultTableCellRenderer?
I could imagine that there is a more easier solution similar to:

myJTable.getColumnNum(7).setRightAligned()

Ulf
Roland - 22 Feb 2005 21:00 GMT
> I would like to right align all values (not the headers) of column num 7 in a JTable.
> Do I really need to install a DefaultTableCellRenderer?
[quoted text clipped - 3 lines]
>
> Ulf

[Follow Up removed, original newsgroups reinstated]

Answer in c.l.j.beans

[Posting this to original newsgroups, to signal that at least one reply
has been sent; just to prevent the same situation with 20+ replies to
"How to list (from command line) all files in a "jar" archive ?" in
c.l.j.help]
Signature

Regards,

Roland de Ruiter
  ___      ___
 /__/ w_/ /__/
/  \ /_/ /  \



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.