JavaFX Script constants
At the moment it looks like JavaFX Script has opted for all-lowercase identifiers for constants, such as "blue", "green", etc.
This makes mixing Java and JavaFX code a little bit ugly and inconsistent. I would recommend making these constants all upper-case, i.e change them to BLUE, GREEN, etc. to make JavaFX Script and Java code more consistent and similar looking.
Message was edited by: behrangsa