File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JavaFX
Bookmark "image not visible untill resize" Watch "image not visible untill resize" New topic

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?
I agree. Here's the link:
subject: image not visible untill resize
jQuery in Action, 3rd edition