This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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
Don't get me started about those stupid light bulbs.
subject: how to label a JTable row
jQuery in Action, 3rd edition