Improved JavaFX Clock

| | Comments (0) | TrackBacks (0)

I have been playing around with the clock on http://sellmic.com/blog/2007/05/20/javafx-clock/, which is really cool. A number of people commented that the implementation was chewing up too many CPU cycles, so I decided to see if I could fix that. I found that the timer loop was the culprit. After modifying the code to use a Swing timer, CPU usage is almost 0%. You can launch the new Clock via webstart below.

Source
ClockUI.fx
JfxClock.fx

0 TrackBacks

Listed below are links to blogs that reference this entry: Improved JavaFX Clock.

TrackBack URL for this entry: http://coffeejolts.com/cgi-bin/mt4/mt-tb.cgi/1

Leave a comment

About this Entry

This page contains a single entry by Coffeejolts published on May 31, 2007 2:51 PM.

Antialias bug in JavaFX is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.2-en