Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes JavaFX and the fly likes image not visible untill resize Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "image not visible untill resize" Watch "image not visible untill resize" New topic
Author

image not visible untill resize

jan dressen
Ranch Hand

Joined: Oct 25, 2007
Posts: 47
hello all,

I have a problem with dynamically adding images to a flowlayout(or maybe to a scene in general). I have the following piece of code(see below) to dynamically add images to a flowlayout. this works sometimes, but sometimes the image doesn't show up until i resize my application window. does anyone know what causes this effect and how to solve it?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: image not visible untill resize