hackergarten contribution: support both Java 7 and Java 8 with JavaFX 2.2 and JavaFX 8 in one codebase