Forums Register Login

Hiding images bound to sliders

+Pie Number of slices to send: Send
Hi,

I am trying a samll animation in JavaFx. I have 2 images bound to 2 sliders. using timelines i move those images close to each other from the end os the scene space. Now as the images appear close to each other, i need to replace one of the images. How do i get this done? is there a way in which i can hide one image and show another image, replace existing image or some other simple way to get this done?

Help awaited and will be appreciated ;)
+Pie Number of slices to send: Send
It's been a while since I last did anything with Java FX, but I'm sure Java FX has support for changing the visibility of widgets. There is a visible flag in javafx.scene.Node.
We've gotta get close enough to that helmet to pull the choke on it's engine and flood his mind! Or, we could just read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1234 times.
Similar Threads
Help sorting out what combination of layouts will provide the result I need
jsp include problem
Using arrays to randomly generate images? (applet)
retrieving more than one images using http connection
Is this even possible in Java? Overlaying multiple images with alpha channels
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 23:19:10.