JavaFX Explore: Make Any Node Draggable

preview_player
Показать описание
We use two mouse events and handle them in a way that allows us to move nodes in the scene graph.

Рекомендации по теме
Комментарии
Автор

Ваш канал и примеры кода - настоящий Святой Грааль для тех, кто работает с JavaFX. Спасибо!)

supertoxic
Автор

This channel is great, thanks for taking the time to create the videos!

ollysalanson
Автор

You cover very useful topics and functionality of javafx which others may ignore!!🙌🙌

ygarg
Автор

Thank you so much, I needed this for a project and you really helped me out

jcrc
Автор

These tutorials are pulling me through the worst. Thanks a bunch man!

boristhedestroyerofancient
Автор

Thanks for this, it's exactly what I'm looking for in my project.

noahwatson
Автор

Hi, I want to have a button that makes objects moveable. I implemented it as you did, but how can I turn off the drageabllity after my button is no longer selected?

vanicarts
Автор

Fun to play with! Add node.setCursor hand & closed hand for added effect.

DanHowardMtl
Автор

Very useful, I will modify the hell out of this to create a draggable tabbar like the Google Chrome has :)

oguzhantopaloglu
Автор

thatz great... can you please do a video on reordering elements in a VBox and keep track of which elements are swapped so you can update an ArrayList in the backend...

please please please

abdulbasit-jjqf
Автор

Hi, i've a question :-) Why do you use JDK11? Greetings

Foreversun
Автор

how can i connect two object by a wire

victorfonyuy