Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Flashing a row in Jtable

 
Ramu Eedupalli
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to flash a row based on the value of one of the cells in that row. Is it possible to bring flashing effect using timer and prepareRendere function.

Can some one provide some sample code to achieve this.
 
mark goking
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what do you mean by flashing? blinking?
 
Ramu Eedupalli
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Flashing background color of that row.
 
mark goking
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have not implemented nor thought if flashing a row is possible but could be

for coloring rows of a jtable, you can check DefaultTableCellRenderer
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic