mardi 19 juin 2012

Draggable nodes in XTreeView

I recently played around with XTreeView the tree component of JFXtras. It’s a nice component with a clean boundary between control and view so that was quiet easy to add a draggable behaviour to the nodes. By the way I’m really grateful to Rakesh Menon for his clear post about Drag and Drop in JavaFX.
The main idea is to wrap a renderer into a draggable wrapper that will encapsulate the created nodes into a SwingDragSource.
Checkout the demo: 
You will find the source and the eclipse project in the attached zip.

1 commentaire:

  1. In the subsequent section, we'll evaluate the difference between inside and outside bets, and some betting systems used by skilled gamers. With integrating Progressive Jackpot System within the electronic roulette recreation, on line casino games owners acquire appreciable benefit over the opponents. And now it is obtainable on your pc, cellphone, and tablet free of charge from 24/7 Games! This HTML5 더킹카지노 roulette recreation is playable from the browser of all your units - no app or flash obtain required!