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 how to label a JTable row Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to label a JTable row" Watch "how to label a JTable row" New topic
Author

how to label a JTable row

Osama Al-Haj Hasan
Greenhorn

Joined: Apr 21, 2004
Posts: 3
i want to create a JTable; columns of the JTable represents hours of a day, rows of JTable represents days of a week, it is easy to create columns header, i mean (10-11,11-12,12-1,...,etc), but how can i create a label for a row, i mean (Saturday,Sunday,....), the situation is as follows:
10-11 11-12 13-14 14-15
Saturday 6 5 4 5
Sunday 8 3 8 8
Tuesday 9 3 3 5
Wednesday 7 8 3 7
Friday 8 5 3 6
i'm appretiating your help,
thanks,
Osama.
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

http://www.jguru.com/faq/view.jsp?EID=87579
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to label a JTable row