Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daggerok/javafx-spring-boot-app
Skeleton of simple Spring Boot + JavaFX app
https://github.com/daggerok/javafx-spring-boot-app
java13 javafx javafx-application spring-boot
Last synced: 3 days ago
JSON representation
Skeleton of simple Spring Boot + JavaFX app
- Host: GitHub
- URL: https://github.com/daggerok/javafx-spring-boot-app
- Owner: daggerok
- License: mit
- Created: 2019-10-21T20:32:26.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-23T23:26:05.000Z (over 2 years ago)
- Last Synced: 2024-11-11T15:39:31.074Z (2 months ago)
- Topics: java13, javafx, javafx-application, spring-boot
- Language: Java
- Size: 55.7 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# javafx-spring-boot-app
Skeleton of simple Spring Boot + JavaFX apprequires Java 13
_SpringBootJavaFXApp.java_
```java
@SpringBootApplication
public class SpringBootJavaFXApp extends Application {private ConfigurableApplicationContext applicationContext;
@Override
public void init() throws Exception {
applicationContext = new SpringApplicationBuilder(SpringBootJavaFXApp.class).run();
}@Override
public void start(Stage primaryStage) {
applicationContext.publishEvent(new StageStartedEvent(primaryStage));
}@Override
public void stop() throws Exception {
applicationContext.close();
Platform.exit();
}public static void main(String[] args) {
Application.launch(SpringBootJavaFXApp.class, args);
}
}
```links:
* [GitHub: daggerok/kotlinfx](https://github.com/daggerok/kotlinfx)
* [GitHub: daggerok/javafx-examples - JavaFX examples](https://github.com/daggerok/javafx-examples)
* [YouTube: Fully Reactive: Spring, Kotlin, and JavaFX Playing Together](https://www.youtube.com/watch?v=Lse51SpfKHo)