import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Locale;
-import java.util.concurrent.Callable;
import java.util.concurrent.atomic.AtomicBoolean;
import org.jfree.graphics2d.svg.SVGGraphics2D;
/*
* configure the action to run on OK in the dialog
*/
- Callable<Void> okAction = () -> {
+ Runnable okAction = () -> {
doOutput(textOption.get());
- return null;
};
/*
setProgressMessage(MessageManager.formatMessage(
"status.cancelled_image_export_operation",
getDescription()));
- return null;
});
svgOption.setResponseAction(0, okAction);
svgOption.showDialog();