Google
 

Wednesday, May 23, 2007

Cool demo of JavaFX

For those of you that have yet to see a cool demo of what JavaFX is capable of, I found a very cool JavaFX clock widget today:

If you want to play around with the source code, it is very simple and contains very few lines, and is easily launched. Open JavaFX Pad (using Java Web Start) and put this link into the "location" textfield, and hit the "Go" button:
http://sellmic.com/lab/dev/jfx/clock/Clock.fx

This very cool clock is animated and very glossy, and only 83 lines!! Amazing..

Today the clock got updated, to support transparent window, to make it a real widget. The transparent window part needs JNA, but you can see it live without worrying about that, using this link:
http://sellmic.com/lab/dev/jfx/clock/webstart/JFXClock.jnlp

The two original posts are linked to below, just wanted you to be aware of it, so you too could have a look at how easy it is to do cool stuff in JavaFX:
http://sellmic.com/blog/2007/05/20/javafx-clock/
http://sellmic.com/blog/2007/05/22/javafx-clock-update-now-with-transparency/

technorati tags:, , , ,

2 comments:

  1. Det er FANME for vildt!

    Fedt sprog, forøvrigt.

    ReplyDelete
  2. Jep, det er heftigt nok.
    Må hellere komme igang med det snart ;)

    ReplyDelete

Please comment! I look forward into hearing your comments/oppinions.