File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to label a JTable row" Watch "how to label a JTable row" New topic

how to label a JTable row

Osama Al-Haj Hasan

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,
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820
I agree. Here's the link:
subject: how to label a JTable row