October 2009
Intermediate to advanced
384 pages
13h
English
This chapter covers
In previous chapters we saw plenty of examples demonstrating Java classes being used from JavaFX Script. Now it’s time for an about-face; how do we call JavaFX Script from Java?
Because JavaFX Script compiles directly to JRE-compatible bytecode, it might be tempting to assume we can treat JavaFX-created classes in much the same way we might treat compiled Java classes or JARs. But this would be unwise. There are enough differences between the two languages for assumption making to be a dangerous business. ...