This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Jtable with vertical columns" Watch "Jtable with vertical columns" New topic

Jtable with vertical columns

Bin Yaqub

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.
Bin Yaqub
I agree. Here's the link:
subject: Jtable with vertical columns