popup must be added to panel before showing
authoramwaterhouse <Andrew Waterhouse>
Fri, 11 Aug 2006 16:05:40 +0000 (16:05 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 11 Aug 2006 16:05:40 +0000 (16:05 +0000)
src/jalview/appletgui/ScalePanel.java

index 5419d27..ce1f330 100755 (executable)
@@ -99,6 +99,7 @@ public class ScalePanel
           });\r
           pop.add(item);\r
         }\r
+        this.add(pop);\r
         pop.show(this, evt.getX(), evt.getY());\r
       }\r
       else if (av.getColumnSelection().contains(res))\r
@@ -115,6 +116,7 @@ public class ScalePanel
           }\r
         });\r
         pop.add(item);\r
+        this.add(pop);\r
         pop.show(this, evt.getX(), evt.getY());\r
       }\r
     }\r