Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What is the right way to flash a lable?  RSS feed

 
Yaroslav Chinskiy
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to SWING and looking for the best practices.

I need to write a gui where based on some events table cells start/stop flashing. In the attached code I get 70% CPU util if I add 1000 lables.

So what am i doing wrong?



Thank you.
[ July 27, 2004: Message edited by: Yaroslav Chinskiy ]
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a little different way of looking at things. I wonder how this does for your cpu usage.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!