first approximation for JAL-782 - hint that opaque groupName is actually the name
authorjprocter <Jim Procter>
Fri, 25 Feb 2011 17:10:24 +0000 (17:10 +0000)
committerjprocter <Jim Procter>
Fri, 25 Feb 2011 17:10:24 +0000 (17:10 +0000)
src/jalview/appletgui/APopupMenu.java
src/jalview/gui/PopupMenu.java

index b1842c7..c202fd2 100755 (executable)
@@ -152,7 +152,7 @@ public class APopupMenu extends java.awt.PopupMenu implements
 
     if (sg != null && sg.getSize() > 0)
     {
-      editGroupName.setLabel(sg.getName());
+      editGroupName.setLabel("Name: "+sg.getName());
       showText.setState(sg.getDisplayText());
       showColourText.setState(sg.getColourText());
       showBoxes.setState(sg.getDisplayBoxes());
index 7a82a96..07fdeea 100755 (executable)
@@ -341,7 +341,8 @@ public class PopupMenu extends JPopupMenu
 
     if (sg != null)
     {
-      groupName.setText(sg.getName());
+      groupName.setText("Name: "+sg.getName());
+      groupName.setText("Edit name and description of current group.");
 
       if (sg.cs instanceof ZappoColourScheme)
       {