cdc.perfs.ui.fx.About Maven / Gradle / Ivy
package cdc.perfs.ui.fx;
import cdc.ui.fx.FxUtil;
import javafx.geometry.Insets;
import javafx.scene.Scene;
import javafx.scene.text.TextFlow;
import javafx.stage.Stage;
public class About extends Stage {
public About() {
getIcons().addAll(FxUtil.getApplicationImages());
setTitle("About CDC Perfs Monitor");
setResizable(false);
final TextFlow wTextFlow = new TextFlow();
wTextFlow.setLineSpacing(5.0);
wTextFlow.setPadding(new Insets(5.0));
wTextFlow.getChildren().add(FxUtil.toBoldText("CDC Perfs Monitor"));
wTextFlow.getChildren().add(FxUtil.toBoldText("\nVersion: "));
wTextFlow.getChildren().add(FxUtil.toText(cdc.perfs.Config.VERSION + " (JavaFx)"));
wTextFlow.getChildren().add(FxUtil.toText("\n\n(c) Copyright 2010-2018, Damien Carbonne"));
final Scene scene = new Scene(wTextFlow);
setScene(scene);
show();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy