From f3d4aa7052f5486039bc2bca8e779a46130ebe10 Mon Sep 17 00:00:00 2001 From: jprocter Date: Fri, 25 Feb 2011 17:10:24 +0000 Subject: [PATCH] first approximation for JAL-782 - hint that opaque groupName is actually the name --- src/jalview/appletgui/APopupMenu.java | 2 +- src/jalview/gui/PopupMenu.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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) { -- 1.7.10.2