From 42031902d96343b0c3ee3e2282b1cb5301f941c5 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 2 Sep 2013 18:11:29 +0100 Subject: [PATCH] JAL-1373 JAL-520 wrap tooltips for columns in annotation rows --- src/jalview/gui/AnnotationPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index ed899b1..b978a05 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -663,7 +663,7 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI, && aa[row].annotations[res].description != null && aa[row].annotations[res].description.length() > 0) { - this.setToolTipText(aa[row].annotations[res].description); + this.setToolTipText(""+JvSwingUtils.wrapTooltip(aa[row].annotations[res].description)+""); } else { -- 1.7.10.2