aspose file tools*
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 Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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?
 
 
subject: image not visible untill resize