This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
sHtml has <img> tags in it which have URLs where the images have to be picked from.
I then do pane.repaint();Thread.sleep(300); several times.
Then I get an image out of pane and write it to a file.
Problem: The images within the HTML are displayed only some of the times. Whether an image will be displayed or not is not regular. Sometimes the images are sometimes not. At other times only some of them are displayed. What exactly can be the issue? And how to fix it?