aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Jtable with vertical columns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Jtable with vertical columns" Watch "Jtable with vertical columns" New topic
Author

Jtable with vertical columns

Bin Yaqub
Greenhorn

Joined: Mar 26, 2004
Posts: 2
I have a Jtable inside a JScrollPane which is on the second of seven tabbs of a JTabbedPane.
MY problem is that I want the table to display the columns vertically, that is to the left of the row.
I have seen tricks that give a row header. However, all I want to do is change the orientation from Horizontal to Vertical. Surely I can't be the only person to ever have wanted to do that. Apart from neccessity, there are asthetic reasons for wanting the column header to be vertical. If anybody has ANY idea of how I can achieve this I would be very gratefull.
rgds
Bin Yaqub
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Jtable with vertical columns