From: gmungoc Date: Wed, 24 Aug 2016 13:23:04 +0000 (+0100) Subject: JAL-1424 removed two redundant (overwritten) setText() calls X-Git-Tag: Release_2_10_0~85 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3facb6a8a696c17782807a4be40b49a0efc319a5;p=jalview.git JAL-1424 removed two redundant (overwritten) setText() calls --- diff --git a/src/jalview/gui/PopupMenu.java b/src/jalview/gui/PopupMenu.java index 569fcec..d28dc60 100644 --- a/src/jalview/gui/PopupMenu.java +++ b/src/jalview/gui/PopupMenu.java @@ -476,8 +476,6 @@ public class PopupMenu extends JPopupMenu if (sg != null && sg.getSize() > 0) { - groupName.setText(MessageManager.formatMessage("label.name_param", - new Object[] { sg.getName() })); groupName.setText(MessageManager .getString("label.edit_name_and_description_current_group")); @@ -1097,7 +1095,6 @@ public class PopupMenu extends JPopupMenu */ private void jbInit() throws Exception { - groupMenu.setText(MessageManager.getString("label.group")); groupMenu.setText(MessageManager.getString("label.selection")); groupName.setText(MessageManager.getString("label.name")); groupName.addActionListener(new java.awt.event.ActionListener()