Search code examples
javafxjavafx-2

what is replacement of com.sun.javafx.runtime API in javafx 2.1?


I am doing convert code from javafx 1.3 to javafx 2.1. But I face this problem. So please help me. Thanks in advance.


Solution

  • The only thing in the JavaFX 1.3 javafx.runtime package was a test of platform conditional features.

    For JavaFX 2.1, the javafx.application.Platform.isSupported(ConditionalFeature) method is equivalent.