if (virtualMaxWidth != -1 || virtualMaxHeight != -1)
return ir.getImageIconBounded(new Dimension(virtualMaxWidth, virtualMaxHeight));
else
return ir.getImageIcon(new Dimension(virtualWidth, virtualHeight));
}
<BUG>public CompletableFuture<ImageIcon> getAsync() {
return CompletableFuture.supplyAsync(this::get, IMAGE_FETCHER);

}</BUG>
public ImageResource getResource() {

if (virtualMaxWidth != -1 || virtualMaxHeight != -1)
return ir.getImageIconBounded(new Dimension(virtualMaxWidth, virtualMaxHeight));
else
return ir.getImageIcon(new Dimension(virtualWidth, virtualHeight));
}
public CompletableFuture<ImageIcon> getAsync() {
return name.startsWith(HTTP_PROTOCOL) || name.startsWith(WIKI_PROTOCOL)
? CompletableFuture.supplyAsync(this::get, IMAGE_FETCHER)
: CompletableFuture.completedFuture(get());
}
public ImageResource getResource() {
