Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Plan JavaFX applications for mobile, embedded, browser-delivered, and multi-target runtimes with explicit platform boundaries.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-20 | ✗→✓ | ▲ Improved | -28% | 0% |
| case-02 | ✓→✓ | = Same ✓ | -12% | 0% |
| case-18 | ✓→✓ | = Same ✓ | 16% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 13% | 0% |
Use this skill when the same JavaFX codebase must support desktop plus browser, mobile, or embedded targets, or when the product is device-oriented from the start.
javaimport javafx.application.Application; import javafx.application.ConditionalFeature; import javafx.application.Platform; import javafx.scene.Scene; import javafx.scene.control.Label; import javafx.scene.layout.StackPane; import javafx.stage.Stage; public class TargetAwareApp extends Application { @Override public void start(Stage stage) { boolean touch = Platform.isSupported(ConditionalFeature.INPUT_TOUCH); var label = new Label(touch ? "Touch-first layout" : "Desktop layout"); stage.setScene(new Scene(new StackPane(label), 480, 320)); stage.show(); } }
javafx-testing-packaging-distribution and javafx-web-maps-embedded-integrationwhen delivery and browser integration overlap.
over cleanly to other targets.
Other measured skills in the registry, with their headline benchmark lift.