File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Make the header of the JTable in Vertical Access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Make the header of the JTable in Vertical Access" Watch "Make the header of the JTable in Vertical Access" New topic
Author

Make the header of the JTable in Vertical Access

Abed Rabie
Ranch Hand

Joined: Jun 24, 2003
Posts: 74
Dear All,

Hello for all of u

Anyone use JTable before notice that the column names exist in the horizontal Access on top of JTable.

My problem and business needs is to make the header(Columns) of the JTable to be in the Vertical Axis on the lest of the JTable.

Can anyone help me to solve this problem. And if it's not the right class to use please advice.

Thanks and best regards.

Aabed


Abed Rabie
Don Kiddick
Ranch Hand

Joined: Dec 12, 2002
Posts: 580
Look here
Abed Rabie
Ranch Hand

Joined: Jun 24, 2003
Posts: 74
Dear Sir,

Thanks alot for this great link and help from you. I searched it but I'm still not find my aim.

If you checked all those examples you will find that all JTable Header Columns are exist at the top and my aim is to hide them from the top and show them on the left at the begining of each row.

So if u please advice me.

Thanks alot for help and best regards

Looking forward to hear from u soon.

Aabed
Don Kiddick
Ranch Hand

Joined: Dec 12, 2002
Posts: 580
It shows you how to add row headers which is what you want to do. I think removing the vertical headers is probably quite easy. I've never done it but I reckon it's something like JTable.setTableHeader(null).
D.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Make the header of the JTable in Vertical Access