removed unnecessary declaration
@@ -132,14 +132,15 @@ public class SingleRowPredictionTask extends AbstractTask {
public void run() {
setStatus(TaskStatus.PROCESSING);
+
+ Platform.runLater(()->{
resultWindowFX = new ResultWindowFX(
"Searching for " + MZmineCore.getConfiguration().getMZFormat().format(searchedMass),
peakListRow, searchedMass, charge, this);
resultWindowFX.setMinHeight(100);
resultWindowFX.setMinWidth(700);
-
- Platform.runLater(()->{
resultWindowFX.show();
+
});
logger.finest("Starting search for formulas for " + massRange + " Da");
