I am using Java 6.0 + Swing + JTable.
Normally, JTable renders the header as the first row. (Left image)
However, I would like to render the header as the first column. (Right image)
I don't think this is a simple flag in JTable.
Can you please recommend an approach or existing widget library?
I assume I need to override the paint() methods for JTableHeader and JTable.
Thanks

Oops, never mind you want a transposed TableModel, not just row headers.
See http://tips4java.wordpress.com/2008/11/18/row-number-table/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With