tip.append("<table width=250 border=0><tr><td><i>");\r
tip.append(sequence.getDescription());\r
\r
+ DBRefEntry[] dbrefs = sequence.getDatasetSequence().getDBRef();\r
+ if (dbrefs != null)\r
+ {\r
+ tip.append("<i>");\r
+ for (int i = 0; i < dbrefs.length; i++)\r
+ {\r
+ tip.append("<br>");\r
+ tip.append(dbrefs[i].getSource() + " "\r
+ + dbrefs[i].getAccessionId());\r
+ }\r
+ tip.append("</i>");\r
+ }\r
+\r
//ADD NON POSITIONAL SEQUENCE INFO\r
SequenceFeature[] features = sequence.getDatasetSequence().\r
getSequenceFeatures();\r
tip.append("</i></td></tr></table>");\r
}\r
\r
- DBRefEntry[] dbrefs = sequence.getDatasetSequence().getDBRef();\r
- if (dbrefs != null)\r
- {\r
- tip.append("<i>");\r
- for (int i = 0; i < dbrefs.length; i++)\r
- {\r
- tip.append("<br>");\r
- tip.append(dbrefs[i].getSource() + " "\r
- + dbrefs[i].getAccessionId());\r
- }\r
- tip.append("</i>");\r
- }\r
\r
tip.append("</html>");\r
setToolTipText(tip.toString());\r