} catch (MalformedURLException ex) {
LOG.warn(String.format("The picture URL: %s,  is not a valid URL string.", urlString), ex);
return;
}
final URL newUrl = url;
<BUG>ApplicationManager.getApplication().executeOnPooledThread(new Runnable() {
@Override
public void run() {
Image image = Toolkit.getDefaultToolkit().getImage(newUrl);</BUG>
Toolkit.getDefaultToolkit().prepareImage(image, -1, -1, null);

} catch (MalformedURLException ex) {
LOG.warn(String.format("The picture URL: %s,  is not a valid URL string.", urlString), ex);
return;
}
final URL newUrl = url;
ApplicationManager.getApplication()
.executeOnPooledThread(
() -> {
Image image = Toolkit.getDefaultToolkit().getImage(newUrl);
Toolkit.getDefaultToolkit().prepareImage(image, -1, -1, null);
