JAL-1424 removed two redundant (overwritten) setText() calls
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 24 Aug 2016 13:23:04 +0000 (14:23 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 24 Aug 2016 13:23:04 +0000 (14:23 +0100)
src/jalview/gui/PopupMenu.java

index 569fcec..d28dc60 100644 (file)
@@ -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()