From: Mateusz Warowny Date: Thu, 4 Mar 2021 13:59:48 +0000 (+0100) Subject: JAL-3066 Fix NullPointerException thrown when showing HMMER run dialog X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f698f77999a9039aa485a6262357432928012479;p=jalview.git JAL-3066 Fix NullPointerException thrown when showing HMMER run dialog --- 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(