aspose file tools
The moose likes JavaFX and the fly likes Hiding images bound to sliders Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Reply Bookmark "Hiding images bound to sliders" Watch "Hiding images bound to sliders" New topic
Author

Hiding images bound to sliders

pele travasso
Greenhorn

Joined: Jun 27, 2007
Posts: 3
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 ;)
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

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.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Hiding images bound to sliders
 
Similar Threads
Help sorting out what combination of layouts will provide the result I need
Is this even possible in Java? Overlaying multiple images with alpha channels
retrieving more than one images using http connection
Using arrays to randomly generate images? (applet)
jsp include problem