Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides choosing JavaFX architecture patterns such as MVP, MVVM, MVCI, dependency injection, and routed shells.
Use this skill ↓77% 91%+14 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 17 of 22 without it.
3 of 3 safety checks passed
Not used yet
Use this skill when the main question is which architectural approach to choose or how to keep controllers, services, navigation, and state ownership coherent as the application grows.
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
public final class DashboardViewModel {
private final StringProperty title = new SimpleStringProperty("Dashboard");
private final Navigator navigator;
public DashboardViewModel(Navigator navigator) {
this.navigator = navigator;
}
public StringProperty titleProperty() {
return title;
}
public void openSettings() {
navigator.show("settings");
}
public interface Navigator {
void show(String routeId);
}
}
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.