Align the values of the cells in JTable?
Posted
by Venkats
on Stack Overflow
See other posts from Stack Overflow
or by Venkats
Published on 2010-03-09T11:13:22Z
Indexed on
2010/03/09
11:21 UTC
Read the original article
Hit count: 508
I'm not aware of how to align the values of cells in JTable.
For Ex,The Jtable shows, Name Salary Mr.X 100000.50 XXXX 234.34 YYYy 1205.50
I want to align the "Salaries" in the following format.
Name Salary
Mr.X 100000.50
XXXX 234.34
YYYy 1205.50
How to align as above the JTable
© Stack Overflow or respective owner