Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

Preview of JavaFX Interpreter

 

As I mentioned we will be posting an update to OpenJFX shortly.

The interpreter now has proper support for binding local variables and partially enforces cardinality constraints.

Here's the latest JavaFXPad for you to try it out.

JavaFXPad also has some improvements:

  • You can have multiple statements and the value of the last statement will be displayed - without having to specify return.
  • Non-visual output is displayed - if the result isn't a Widget, Frame, or Node, the value of the result converted to a string will be displayed in a text area. Thus you can use JavaFXPad like a REPL for experimenting with the JavaFX language.