JAL-1355 removed all top level html tags from message bundles
[jalview.git] / src / jalview / gui / AnnotationPanel.java
index 4036347..4adeb83 100755 (executable)
@@ -307,7 +307,7 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI,
     else if (evt.getActionCommand().equals(COLOUR))
     {
       Color col = JColorChooser.showDialog(this,
-              "Choose foreground colour", Color.black);
+              MessageManager.getString("label.select_foreground_colour"), Color.black);
 
       for (int i = 0; i < av.getColumnSelection().size(); i++)
       {
@@ -673,10 +673,8 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI,
               && aa[row].annotations[res].description != null
               && aa[row].annotations[res].description.length() > 0)
       {
-        this.setToolTipText("<html>"
-                + JvSwingUtils
-                        .wrapTooltip(aa[row].annotations[res].description)
-                + "</html>");
+        this.setToolTipText(JvSwingUtils
+                        .wrapTooltip(true, aa[row].annotations[res].description));
       }
       else
       {