ehayik / jfx-playground

Demo project for Spring Boot and JFX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jfx-playground

Demo project for integrating Spring Boot and JavaFX. The Demo has the following features:

  1. Simple working sample code for a small desktop application.
  2. Configuration for maven or gradle project to use JavaFX with Spring Boot, with the appropriate maven artifact. dependencies for basic development.
  3. Uses recent, reasonably up-to-date JavaFX modules, with consistent versions.
  4. Demonstrates placing an FXML file in a resource directory, and looking it up as a resource at runtime.
  5. Properly separates a controller class from the application class.
  6. Demonstrates how to bootstrap JavaFX application using Spring Boot.
  7. Demonstrates how to use Spring Boot features within JavaFX.
  8. Showcase how to navigate between JavaFX view using a router implementation, heavily inspired on Angular/Router.

Which technologies are being used ?

The project uses the following technologies:

  • JavaFX 17
  • Spring Boot v3.0.1

Developer Guide

Prerequisites

  • Download and install JDK 17.

How to run?

  • Open the command line and navigate to the project folder.
  • To run using maven use ./mvnw spring-boot:run command.
  • To run using gradle use ./gradlew bootRun command.

About

Demo project for Spring Boot and JFX


Languages

Language:Java 100.0%