JavaFX Script

Mike on December 19th, 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.

Share

Continue reading about Binding Java Objects in JavaFX Script

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.

Share

Continue reading about JavaFX is out – or thinking about my last year with JavaFX

Mike on June 15th, 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.

Share

Continue reading about Creating JavaFX sequences in Java programs

Mike on April 21st, 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.

Share

Continue reading about Internal design of JavaFX sequences

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.

Share

Continue reading about Refactoring a function to become a bound function

Mike on March 30th, 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.

Share

Continue reading about Creating JavaFX objects in Java programs

Mike on March 28th, 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.

Share

Continue reading about Using JavaFX sequences in a Java program

Mike on March 21st, 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.

Share

Continue reading about Using JavaFX objects in Java code

Mike on March 15th, 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.

Share

Continue reading about Writing Java code for JavaFX Script