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

Swing : Blinking Button/images

 
ranua agarwal
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Do anybody know, how to create blinking button/images in swing.

Actually, i need to do for alerting the user when some threshold reaches,
like some some value greater than 100 etc.
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use a javax.swing.Timer to regularly change the background color and stuff like that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!