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


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

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);
 
Consider Paul's rocket mass heater.
 
subject: borland dataset column header alignment