ワンクリックで
javafx-application-lifecycle
Manage the JavaFX Application lifecycle, primary stage setup, startup sequencing, and shutdown behavior.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Manage the JavaFX Application lifecycle, primary stage setup, startup sequencing, and shutdown behavior.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Build JavaFX 3D modeling tools and print/export workflows with isolated geometry generation and preview rendering.
Choose and integrate mature third-party JavaFX control libraries for forms, productivity widgets, theming, and developer workflow support.
Build JavaFX terminal emulators or shell-style console panes with background process I/O, ANSI handling, and safe FX-thread updates.
Build node-based JavaFX workflow editors, graph canvases, and visual programming surfaces with clean model separation.
Animate JavaFX UIs with Timeline, Transition, Canvas, and AnimationTimer-based render loops.
Choose JavaFX architecture patterns such as plain scene-graph, MVP, MVVM, MVCI, DI, and routed shells.
| name | javafx-application-lifecycle |
| description | Manage the JavaFX Application lifecycle, primary stage setup, startup sequencing, and shutdown behavior. |
| triggers | ["javafx application lifecycle","application start stage","application stop javafx","primary stage initialization"] |
| compatibility | {"java":"17+","javafx":"21+"} |
| category | project-setup |
| tags | ["application","lifecycle","stage","startup","shutdown"] |
| metadata | {"scope":"repository","maturity":"starter"} |
| allowed-tools | ["view","rg","apply_patch"] |
Use this skill when the application already exists or the question is specifically about
Application.init(), start(Stage), stop(), or primary-stage ownership rather than initial
scaffolding.
package com.example.app;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.stage.Stage;
public class MainApp extends Application {
private ExecutorService executor;
@Override
public void init() {
executor = Executors.newSingleThreadExecutor();
}
@Override
public void start(Stage stage) {
stage.setTitle("Lifecycle Demo");
stage.setScene(new Scene(new Label("Ready"), 320, 160));
stage.show();
}
@Override
public void stop() {
executor.shutdownNow();
}
}
init() for non-UI initialization; no scene graph access belongs there.Stage as application-level infrastructure and pass navigation decisions through
a shell or coordinator instead of random controllers.stop().Stage is only available in start(Stage), not in init().javafx-project-starter is the right skill for generating a new app skeleton; this skill is for
lifecycle semantics and ownership boundaries inside an app.