Congratulations to Shakir Gusaroff for submitting the first solution to the Puzzler4Compiled Puzzler, and the fact that it met the requirements of the problem!
For reference, here is my sample solution, followed by the console output:
*
* Puzzler4Compiled.fx - A compiled JavaFX Script program that demonstrates
* features of compiled JavaFX Script
*
* Developed 2007 by James L. Weaver (jim.weaver at lat-inc.com)
*/
import java.lang.System;
class Puzzler4Compiled {
attribute changingText:String
on replace {
System.out.println("changingText was replaced with {changingText}");
};
}
Puzzler4Compiled {
changingText: "Hello"
}
Here's the console output:
changingText was replaced with Hello
Congratulations again, Shakir! I'll contact you right away with instructions on downloading the JavaFX Script eBook.
Regards,
Jim Weaver
JavaFX Script: Dynamic Java Scripting for Rich Internet/Client-side Applications
Immediate eBook (PDF) download available at the book's Apress site
Comments