Articles related to JavaFX Script Mike's Weblog

Saturday Dec 20, 2008

Bindings are one of the key features of the JavaFX language, because they simplify one“s life tremendously. By reducing the amount of boilerplate code, which is usually needed to keep the objects in an application in-sync, the developer can concentrate on the really important things. (You know, like a cool looking UI.) ;-)

Unfortunately Java objects do not provide this capabilities for their fields. That means the boilerplate code has to be written manually. This article will show a solution to bind properties of Java objects.

[Read More]

Friday Dec 05, 2008

It's been done. Today the first version of the JavaFX SDK was released. What better occasion could there be to reactivate my blog? And it is a good time to stop for a moment and think about the past year in which I have worked on JavaFX.[Read More]

Saturday Sep 06, 2008

Milestone 6 of the OpenJFX Compiler has just been released. Here is a short summary from Brian, of what was done in the last iteration.[Read More]

Monday Jun 16, 2008

The last article explained, how sequences are represented in the runtime and touched some of the possibilities to create new JavaFX sequences in Java programs. This article and the follow-up focus on sequence-creation and give an overview of additional possibilities.

[Read More]

Tuesday Apr 22, 2008

This is the first part in a series of articles about JavaFX sequences. It will focus on the basic concepts of the implementation and explain some of the possibilities how to create JavaFX sequences in Java programs.[Read More]

Thursday Apr 10, 2008

The JavaFX Script compiler milestone 3 release is available. Major features of this release include:[Read More]

Thursday Apr 03, 2008

The specification for bound functions seems to be very strict at first sight. But in this article, I present a little recipe with which almost every function can be refactored to a bound function.[Read More]

Monday Mar 31, 2008

So far, all of the examples in my previous article about how to use JavaFX objects in Java code expected the object as an input parameter. But what if you want to create a JavaFX object directly? In this article, I will describe a very simple but effective solution.[Read More]

Friday Mar 28, 2008

The last two articles were about how to pass and deal with primitive datatypes, Java objects, and JavaFX objects. This article focuses on JavaFX sequences.[Read More]

Friday Mar 21, 2008

As shown in the last article, passing parameters between a JavaFX script and Java code is fairly simple, if the parameters are native to the Java language. But if we want to pass a JavaFX-object, things are different. The main obstacle is the fact, that the Java compiler is not able to read JavaFX scripts directly to extract the needed information. But JavaFX objects can be shared between a JavaFX and Java code by using one of the approaches presented in this article.[Read More]

Sunday Mar 16, 2008

When writing Java classes which can be used in JavaFX scripts, three factors have to be considered: how to create a Java object, how to access its members and how to pass parameters between Java and JavaFX.[Read More]