From f698f77999a9039aa485a6262357432928012479 Mon Sep 17 00:00:00 2001 From: Mateusz Warowny Date: Thu, 4 Mar 2021 14:59:48 +0100 Subject: [PATCH] JAL-3066 Fix NullPointerException thrown when showing HMMER run dialog --- src/jalview/gui/WsJobParameters.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/jalview/gui/WsJobParameters.java b/src/jalview/gui/WsJobParameters.java index 88819e4..c1a925d 100644 --- a/src/jalview/gui/WsJobParameters.java +++ b/src/jalview/gui/WsJobParameters.java @@ -218,12 +218,8 @@ public class WsJobParameters extends JPanel implements ItemListener, if (service != null) { frame.setTitle(MessageManager.formatMessage("label.edit_params_for", - new String[] - { service.getActionText() })); + new String[] { service.getActionText() })); } - frame.setTitle(MessageManager.formatMessage("label.edit_params_for", - new String[] - { service.getActionText() })); Rectangle deskr = Desktop.getInstance().getBounds(); Dimension pref = this.getPreferredSize(); frame.setBounds( -- 1.7.10.2