diff --git a/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/commands/ManageSPIMBenchmark.java b/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/commands/ManageSPIMBenchmark.java index 4f5adb6b895dedb28056a2ec0bf9368947ec9ff2..ea4b543a9bae7bcfd853c101d7e0066a4ce366de 100644 --- a/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/commands/ManageSPIMBenchmark.java +++ b/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/commands/ManageSPIMBenchmark.java @@ -10,6 +10,8 @@ import java.nio.file.Paths; import javax.swing.WindowConstants; +import net.imagej.ImageJ; + import org.scijava.Context; import org.scijava.command.Command; import org.scijava.plugin.Parameter; @@ -23,7 +25,6 @@ import org.slf4j.LoggerFactory; import cz.it4i.fiji.haas_spim_benchmark.core.Constants; import cz.it4i.fiji.haas_spim_benchmark.ui.BenchmarkSPIMWindow; -import net.imagej.ImageJ; /** * @@ -73,7 +74,7 @@ public class ManageSPIMBenchmark implements Command { final BenchmarkSPIMWindow dialog = new BenchmarkSPIMWindow(null, new BenchmarkSPIMParametersImpl(userName, password, Constants.PHONE, email, workingDirPath)); dialog.executeAdjustment(() -> { - dialog.setTitle(Constants.MENU_ITEM_NAME + " " + Constants.SUBMENU_ITEM_NAME); + dialog.setTitle(Constants.SUBMENU_ITEM_NAME); dialog.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); dialog.addWindowListener(new WindowAdapter() { @Override diff --git a/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/core/Constants.java b/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/core/Constants.java index 970e523452759e46c2c5feeb1c64694bf56688a8..753798b524c98781e42b013ee3a8585b5383d865 100644 --- a/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/core/Constants.java +++ b/haas-spim-benchmark/src/main/java/cz/it4i/fiji/haas_spim_benchmark/core/Constants.java @@ -6,7 +6,7 @@ import java.util.Map; public interface Constants { String MENU_ITEM_NAME = "Multiview Reconstruction"; - String SUBMENU_ITEM_NAME = "Remote Workflow Manager"; + String SUBMENU_ITEM_NAME = "SPIM Workflow Manager for HPC"; String PHONE = "123456789"; int HAAS_UPDATE_TIMEOUT = 30000;