Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gkalian/javafx-dragndrop-demo
Small demonstration Java FX Drag'n'Drop between tables
https://github.com/gkalian/javafx-dragndrop-demo
demo drag-and-drop javafx maven
Last synced: 1 day ago
JSON representation
Small demonstration Java FX Drag'n'Drop between tables
- Host: GitHub
- URL: https://github.com/gkalian/javafx-dragndrop-demo
- Owner: gkalian
- Created: 2024-03-13T15:57:18.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-13T16:56:44.000Z (8 months ago)
- Last Synced: 2024-03-13T18:58:56.657Z (8 months ago)
- Topics: demo, drag-and-drop, javafx, maven
- Language: Java
- Homepage:
- Size: 745 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# JavaFX Drag and Drop Demo
Drag'n'Drop from the left table to the right table, sorting inside the right table, no drop back to left table.
![](src/main/resources/dng-demo.gif)
## Setup
- Copy [non-modular project](https://github.com/openjfx/samples/tree/master/IDE/IntelliJ/Non-Modular/Maven) from official samples project (Maven in this case).
- Setup additional VM options for your app configuration (see [YT video](https://youtu.be/hS_6ek9rTco)), if needed to run JavaFX correctly.
- Compile with Maven.
- Run main class.## Usage
As this is a personal sandbox use at your own risk.
## Credits
Based on the old [article](https://brianyoung.blog/2018/08/23/javafx-treeview-drag-drop) and [repository](https://github.com/cerebrosoft/treeview-dnd-example) by Brian Young.