Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fdelporte/javafx-with-java-versus-kotlin
Demo project to compare JavaFX with Java versus Kotlin
https://github.com/fdelporte/javafx-with-java-versus-kotlin
Last synced: 7 days ago
JSON representation
Demo project to compare JavaFX with Java versus Kotlin
- Host: GitHub
- URL: https://github.com/fdelporte/javafx-with-java-versus-kotlin
- Owner: FDelporte
- License: mit
- Created: 2024-09-14T11:34:56.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-14T13:01:02.000Z (2 months ago)
- Last Synced: 2024-10-18T19:42:35.763Z (about 1 month ago)
- Language: Kotlin
- Size: 114 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Example project JavaFX code in Java versus Kotlin
Shows the same basic user interface with a BorderPane, Buttons, etc. to be able to compare the code structure in Java versus Kotlin. You can also use this project as a template for your JavaFX+Kotlin project as it also includes a GitHub Action workflow.
![](screenshot/app-window.png)
## Executing the application
* Modify `build.gradle.kts`, change the `application` setting:
* For Java: `mainClass.set("be.webtechie.MainJava")`
* For Kotlin: `mainClass.set("be.webtechie.MainKotlin")`
* Run it with the button shown in IntelliJ IDEA
* Or in the terminal: `./gradlew run`