Appendix B. JavaFX Script: a quick reference
This appendix is an ultraterse guide to JavaFX Script, almost like flash cards for each of the topics covered in the main language tutorial chapters earlier in this book. As well as acting as a quick reference to the language syntax, it could also be used by highly confident developers (impatient to get on to the projects) as a fast track to learning the basics of the JavaFX Script language.
B.1. Comments
JavaFX Script supports comments in the same way as Java:
// A single line comment./* A multi line comment. */
B.2. Variables and data types—the basics
JavaFX Script variables are statically, not dynamically, typed. The language has no concept of primitives in the way Java does; everything is ...
Get JavaFX in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.