From: jprocter Date: Fri, 25 Feb 2011 17:10:24 +0000 (+0000) Subject: first approximation for JAL-782 - hint that opaque groupName is actually the name X-Git-Tag: Release_2_7~235 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f3d4aa7052f5486039bc2bca8e779a46130ebe10;p=jalview.git first approximation for JAL-782 - hint that opaque groupName is actually the name --- diff --git a/src/jalview/appletgui/APopupMenu.java b/src/jalview/appletgui/APopupMenu.java index b1842c7..c202fd2 100755 --- a/src/jalview/appletgui/APopupMenu.java +++ b/src/jalview/appletgui/APopupMenu.java @@ -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()); diff --git a/src/jalview/gui/PopupMenu.java b/src/jalview/gui/PopupMenu.java index 7a82a96..07fdeea 100755 --- a/src/jalview/gui/PopupMenu.java +++ b/src/jalview/gui/PopupMenu.java @@ -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) {