Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about JTable

 
Kruger Scheitz
Ranch Hand
Posts: 72
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to set a particular color for a particular row in the JTable? need help urgently
 
Thomas Fly
Ranch Hand
Posts: 164
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to change font in JTable?
 
Ashik Uzzaman
Ranch Hand
Posts: 2373
Eclipse IDE Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Were you talking about color of a row when selected? Then

jtbTableName.setSelectionBackground(java.awt.Color.green);
 
Kruger Scheitz
Ranch Hand
Posts: 72
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thx a lot guyz
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic