@Override
@NbBundle.Messages({
"# {0} - file name",
"LoadImageTask.mesageText=Reading image: {0}"})
protected javafx.scene.image.Image call() throws Exception {
<BUG>updateMessage(Bundle.LoadImageTask_mesageText(file.getName()));</BUG>
return readImage();
}
}
static private abstract class ReadImageTaskBase extends Task<javafx.scene.image.Image> implements IIOReadProgressListener {
final AbstractFile file;
<BUG>private volatile BufferedImage bufferedImage = null;</BUG>
private ImageReader reader;

@Override
@NbBundle.Messages({
"# {0} - file name",
"LoadImageTask.mesageText=Reading image: {0}"})
protected javafx.scene.image.Image call() throws Exception {
return readImage();
}
}
static private abstract class ReadImageTaskBase extends Task<javafx.scene.image.Image> implements IIOReadProgressListener {
final AbstractFile file;
private ImageReader reader;
