Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.