Enumeration e = features.elements();\r
StringBuffer sbuffer = new StringBuffer();\r
\r
- this.setToolTipText(null);\r
+\r
while (e.hasMoreElements())\r
{\r
SequenceFeature sf = (SequenceFeature) e.nextElement();\r
if (sf.getStart() <= sequence.findPosition(res) &&\r
sf.getEnd() >= sequence.findPosition(res))\r
{\r
+ if(sbuffer.length()>0)\r
+ sbuffer.append("; ");\r
sbuffer.append(sf.getType() + " " + sf.getDescription());\r
- ToolTipManager.sharedInstance().registerComponent(this);\r
- this.setToolTipText(sbuffer.toString());\r
+\r
}\r
\r
}\r
+\r
+ ToolTipManager.sharedInstance().registerComponent(this);\r
+ this.setToolTipText(sbuffer.toString());\r
}\r
\r
\r