Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to label a JTable row

Osama Al-Haj Hasan
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
I will suppress my every urge. But not this shameless plug:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!