The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Smooth Moves
Subject:  locking
Date:  2006-02-24 01:37:07
From:  luano


The call to vbLock is made from the EDT isn't it, so won't that slow down the whole Swing application? I tried the demo on a few machines and on the older ones using the vbLock option caused a noticeable increase in the CPU usage.

I don't suppose this is easily offloadable to a background thread but perhaps some alignment of the animation rate and the monitor's refresh rate could help reduce the impact.

 Feed java.net RSS Feeds