Archives for the ‘javafx’ Category

JavaFX Questions

Sun has released a JavaFX preview. Having played around with it, here are my questions:

Will using the scenegraph api consume less resources than a comparable app developed using DHTML? In Meebo is what’s wrong with the web (cached), Uncov writes that Meebo consumes 39Mb RAM over-and-above that of Firefox. Running a basic JavaFX app (JRE1.6u7) consumes [...]

JavaFX API documentation

Since JavaFX is still under active development, the JavaFX API docs could do with some serious link-love. Currently, version 0.2 of JavaFX docs ranks in Google.

JavaFX Type Casting

I have been playing a little bit more with JavaFX. Unfortunately the language reference isn’t particularly complete, and it turns out that type casting in JavaFX is via the as keyword. (Thanks Andres Almiray for the tip!)
For example,

var myWidth = (e.node as Rectangle).width

Incidentally, the performance of the drop shadow effect leaves much to be [...]

Clairvoyant Interaction

This page is where I keep track of interaction design patterns. It will be particularly useful to implement these behaviors in JavaFX/Flex base-classes for nodes so that UX designer don’t have to nitpick over details like these:

Yorai discusses the effect of mouse clicks and shift click, control click on focus, selection, activating in-place editing, dragging
Raymond [...]

JavaFX for Experienced Programmers

What JavaFX is not
JavaFX is not Java. It is a brand new language that builds on top of the JVM and the runtime libraries.  There is a new syntax, and a lot of new syntactic sugar aimed that reducing the quantity of code needed to

create and animate user interfaces
update user interfaces as model data changes
update [...]