ProgressIndicator loadingProgressIndicator = new ProgressIndicator(-1);
loadingProgressIndicator.progressProperty().bind(imageTask.progressProperty());
return loadingProgressIndicator;
}
@ThreadConfined(type = ThreadConfined.ThreadType.JFX)
<BUG>void showImage(DrawableFile<?> file, Task<Image> imageTask) {
</BUG>
try {
Image fxImage = imageTask.get();
if (nonNull(fxImage)) {

ProgressIndicator loadingProgressIndicator = new ProgressIndicator(-1);
loadingProgressIndicator.progressProperty().bind(imageTask.progressProperty());
return loadingProgressIndicator;
}
@ThreadConfined(type = ThreadConfined.ThreadType.JFX)
private void showImage(DrawableFile<?> file, Task<Image> imageTask) {
try {
Image fxImage = imageTask.get();
if (nonNull(fxImage)) {
