added action for saving the current session as a vamsas archive.
[jalview.git] / src / jalview / gui / IdPanel.java
index 4ca622d..b9366ae 100755 (executable)
@@ -75,19 +75,19 @@ public class IdPanel
     {\r
       SequenceI sequence = av.alignment.getSequenceAt(seq);\r
       StringBuffer tip = new StringBuffer();\r
+      tip.append("<i>");\r
 \r
       int maxWidth = 0;\r
       if (sequence.getDescription() != null)\r
       {\r
         tmp = sequence.getDescription();\r
-        tip.append(tmp);\r
+        tip.append("<br>"+tmp);\r
         maxWidth = Math.max(maxWidth, tmp.length());\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
@@ -95,7 +95,6 @@ public class IdPanel
           tip.append(tmp);\r
           maxWidth = Math.max(maxWidth, tmp.length());\r
         }\r
-        tip.append("</i>");\r
       }\r
 \r
 \r