A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Swing / AWT / SWT
Author
borland dataset column header alignment
eric zhao
Greenhorn
Joined: Feb 26, 2003
Posts: 20
posted
Sep 01, 2005 14:20:00
0
We are using JBuilder's dataset | resolver | provider to display resultset in tables. Is there a way to align the table column caption (columnnames) to the left? By default it is in the center.
Thanks.
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
Sep 01, 2005 15:25:00
0
((
DefaultTableCellRenderer
)table.getTableHeader().getDefaultRenderer()).setHorizontalAlignment(SwingConstants.LEFT);
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: borland dataset column header alignment
Similar Threads
List of DSNs
Couldn't get the values in Bar Chart using JFreechart
Sorting/Pagination in large datasets
DBUnit
Customizing color of a JFreeChart Based on Dataset column value
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter