Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: JOutlookBar Date: Thu, 26 Apr 2012 16:19:49 -0700 (PDT) Organization: http://groups.google.com Lines: 25 Message-ID: <15997725.898.1335482389670.JavaMail.geo-discussion-forums@pbbps5> References: <33049662.264.1335479370702.JavaMail.geo-discussion-forums@pbcnk4> NNTP-Posting-Host: 69.28.149.29 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1335482390 24748 127.0.0.1 (26 Apr 2012 23:19:50 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 26 Apr 2012 23:19:50 +0000 (UTC) In-Reply-To: <33049662.264.1335479370702.JavaMail.geo-discussion-forums@pbcnk4> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Received-Bytes: 2194 Xref: csiph.com comp.lang.java.programmer:13936 On Thursday, April 26, 2012 3:29:30 PM UTC-7, Peter Cheung wrote: > http://www.youtube.com/watch?v=3Dp6PzTWYgezM > how to make swing [sic] timer run faster? > I use swing [sic] timer to draw the animation, but it runs slowly. Please provide code. Best is to prepare a Simple, Self-Contained Compilable Example. http://sscce.org/ Unless you show us the code, here in the newsgroup, in an example that isol= ates the issue, it can be difficult to diagnose your problem. I would need to see how you're using the timer now to see what might be wro= ng. It could be a concurrency issue, or you might be running other things o= n the Event Dispatch Thread (EDT) that you shouldn't, there might be other = demands on the system (e.g., from the video recording software), or you sim= ply might not have enough computing power to run it faster.=20 The solutions for those issues, if any of them pertain, is to make your cod= e thread-safe, take things off the EDT, shut down other software and servic= es while you record your video, or use a faster computer, respectively. --=20 Lew