Skip to Main Content
JavaFX in Action
book

JavaFX in Action

by Simon Morris
October 2009
Intermediate to advanced content levelIntermediate to advanced
384 pages
13h
English
Manning Publications
Content preview from JavaFX in Action

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

JavaFX For Dummies

JavaFX For Dummies

Doug Lowe
Mastering JavaFX 10

Mastering JavaFX 10

Sergey Grinev

Publisher Resources

ISBN: 9781933988993Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link