Tag Archives: JavaSE8

Drag-and-Drop in JavaFX (Draggable Icons), Part 1


Part 1 of a series of posts on how to develop JavaFX custom controls that demonstrate using drag-and-drop to create and move objects. The result is a simple application that mimics node-style editors found in major software like Blender and Unreal Development Kit (UDK).

https://monograff76.wordpress.com/2015/02/17/developing-a-drag-and-drop-ui-in-javafx-part-i-skeleton-application/

Drag-and-Drop in JavaFX (Draggable Icons), Part 2


To this point, we’ve set up a skeleton JavaFX application and separated the resources from the code. We’ve also build a few classes and two FXML documents with template code to make them functional. Finally, we created one of the custom classes (RootLayout) and added it to the Stage provided by the default application. But […]

https://monograff76.wordpress.com/2015/02/18/developing-a-drag-and-drop-ui-in-javafx-part-2/

Drag-and-Drop in JavaFX (Draggable Icons), Part 3


To this point, we’ve built a skeleton application with two custom controls: RootLayout, which consists of a hierarchy of containers that define the main application view, and DragIcon, which is a simple AnchorPane representing a draggable object we can drag and drop from the left to the right side of our application. We also added […]

https://monograff76.wordpress.com/2015/02/20/developing-a-drag-and-drop-ui-in-javafx-part-3/

Drag-and-Drop in JavaFX (Draggable Icons), Part 4


To this point, we’ve created our skeleton application with a SplitPane view populated with a vertical list of colored icons at left. These icons are draggable from the left-hand pane to the right-hand pane, but that’s it.  In this post, we’ll complete the first drag-and-drop function as well as implement a custom drag-and-drop data structure […]

https://monograff76.wordpress.com/2015/02/24/developing-a-drag-and-drop-ui-in-javafx-part-4-drag-and-drop/

Drag-and-Drop in JavaFX (LinkingNodes with Cubic Curves), Part 3


This is it. Last post for this series. We’re going to finish what we’ve started, connecting two nodes with a CubicCurve. It’s a bit more involved than it seems, but it’s not too bad. Plus, I’ve thrown in a little bonus with the complete application code.  You can download it here. So let’s go. Connecting […]

https://monograff76.wordpress.com/2015/04/01/drag-and-drop-in-javafx-linkingnodes-with-cubic-curves-part-3/