https://github.com/interacto/example-jfx-drawingeditor
A JavaFX app that uses Interacto
https://github.com/interacto/example-jfx-drawingeditor
Last synced: 7 months ago
JSON representation
A JavaFX app that uses Interacto
- Host: GitHub
- URL: https://github.com/interacto/example-jfx-drawingeditor
- Owner: interacto
- Created: 2019-06-26T12:30:51.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-01T20:53:30.000Z (over 5 years ago)
- Last Synced: 2025-10-18T08:26:53.666Z (8 months ago)
- Language: Java
- Homepage:
- Size: 15.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
An example of how to use Interacto to develop a JavaFX application.
This app follows the MVP pattern: the presenters (package 'presenter') binds the model to the view. These two last do not know each others.
### Packages
'draw': the main class.
'command': the GUI commands that users can produce while interacting with the GUI.
'presenter': the controllers/presenters/... that receives events from the GUI and that transform them into commands
'model': the model of the app. Knows nothing about the view, the instruments, and the commands
'view': the JavaFX view
### Requirements
Java 11 is required.
### Build
`mvn clean package` does the job.
### execution
The `dist` folder is the packaged app.
No JVM is required to run the app since `dist` contains both the app and a tiny JVM dedicated to the app.
Double-click on `dist/bin/run` to launch the app.