Is there a way to rotate 90º the column headers of a JTable?
Check out Darryl's Vertical Table Header Cell Renderer.
This is little tricky. At first, you need to cast JTable headers to JLabels. It's just like
((JLabel)table.getTableHeader()
Then rotate JLabels. It's already answered here on StackOverflow
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