Leonel FOFOU
2026-07-28 32450e295200b2bc7896518ff74161ff26772e2d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.megatim.manuel.studio;
 
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
 
/**
 * Manuel Studio : application autonome de génération du manuel d'application
 * (import Word/PowerPoint, métadonnées, génération du bundle HTML, aperçu, thèmes).
 */
public class StudioApp extends Application {
 
    public static void main(String[] args) {
        launch(args);
    }
 
    @Override
    public void start(Stage stage) throws Exception {
        StudioPrefs prefs = new StudioPrefs();
        FXMLLoader loader = new FXMLLoader(StudioApp.class.getResource("studio.fxml"));
        Parent root = loader.load();
 
        stage.setTitle("Manuel Studio — MEGATIM");
        stage.setScene(new Scene(root, prefs.getWindowW(), prefs.getWindowH()));
        stage.setOnCloseRequest(e -> prefs.setWindowSize(stage.getWidth(), stage.getHeight()));
        stage.show();
    }
}