Platform-specific integration for JavaFX applications