mirror of
https://github.com/frosch95/SmartCSV.fx.git
synced 2026-04-11 21:48:22 +02:00
main content of about dialog changed to fxml to support hyperlinks and better layout
This commit is contained in:
@@ -33,6 +33,7 @@ import javafx.scene.Parent;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.stage.Stage;
|
||||
import javafx.stage.WindowEvent;
|
||||
import ninja.javafx.smartcsv.fx.about.AboutController;
|
||||
import org.springframework.context.annotation.*;
|
||||
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
|
||||
|
||||
@@ -53,6 +54,9 @@ public class SmartCSV extends Application {
|
||||
|
||||
Platform.setImplicitExit(false);
|
||||
|
||||
AboutController aboutController = appContext.getBean(AboutController.class);
|
||||
aboutController.setHostServices(getHostServices());
|
||||
|
||||
try {
|
||||
showUI(primaryStage, name, version);
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user