aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes borland dataset column header alignment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "borland dataset column header alignment" Watch "borland dataset column header alignment" New topic
Author

borland dataset column header alignment

eric zhao
Greenhorn

Joined: Feb 26, 2003
Posts: 20
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
((DefaultTableCellRenderer)table.getTableHeader().getDefaultRenderer()).setHorizontalAlignment(SwingConstants.LEFT);
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: borland dataset column header alignment