From 3facb6a8a696c17782807a4be40b49a0efc319a5 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 24 Aug 2016 14:23:04 +0100 Subject: [PATCH] JAL-1424 removed two redundant (overwritten) setText() calls --- src/jalview/gui/PopupMenu.java | 3 --- 1 file changed, 3 deletions(-) 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() -- 1.7.10.2