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 Table with Side Headers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Table with Side Headers" Watch "Table with Side Headers" New topic
Author

Table with Side Headers

Ally Cavs
Ranch Hand

Joined: Aug 25, 2008
Posts: 89
hi Guys

I want to create a table with headers on top and at the side. Has any one any code snippets.

The table will be a fixed size of 12x3 - 12 headings along the top left to right, 3 headings running down the left hand side from top to botton

Thanks
Alan
Kemal Sokolovic
Bartender

Joined: Jun 19, 2010
Posts: 825
    
    5

You might want to look at Row Number Table. Is should be modified for your own purpose, but it seem to me as a good starting point.


The quieter you are, the more you are able to hear.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38075
    
  22
I think this discussion would fit better in our GUIs forum: moving.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Table with Side Headers
 
Similar Threads
mig layout, jscrollpane, and min size
JTable / Columns - rows inversion
how to open the tomcat manager
<thead> with row scope?
Display Colum header in Jtable