This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Flashing a row in Jtable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Flashing a row in Jtable" Watch "Flashing a row in Jtable" New topic
Author

Flashing a row in Jtable

Ramu Eedupalli
Greenhorn

Joined: Apr 10, 2009
Posts: 9
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

Joined: Aug 18, 2009
Posts: 155
what do you mean by flashing? blinking?


Website/Java Games: http://www.chitgoks.com
Tech Blog: http://tech.chitgoks.com
Ramu Eedupalli
Greenhorn

Joined: Apr 10, 2009
Posts: 9
Flashing background color of that row.
mark goking
Ranch Hand

Joined: Aug 18, 2009
Posts: 155
have not implemented nor thought if flashing a row is possible but could be

for coloring rows of a jtable, you can check DefaultTableCellRenderer
 
Have you checked out Aspose?
 
subject: Flashing a row in Jtable
 
It's not a secret anymore!