From 9db8c298fdcb298dc192871d45d57a60517b2add Mon Sep 17 00:00:00 2001 From: gmungoc Date: Fri, 12 Feb 2016 16:47:48 +0000 Subject: [PATCH] JAL-282 wrap very long id in tooltip --- src/jalview/gui/IdPanel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/IdPanel.java b/src/jalview/gui/IdPanel.java index 5dfe581..bbffbab 100755 --- a/src/jalview/gui/IdPanel.java +++ b/src/jalview/gui/IdPanel.java @@ -112,8 +112,8 @@ public class IdPanel extends JPanel implements MouseListener, seqAnnotReport.createSequenceAnnotationReport(tip, sequence, av.isShowDBRefs(), av.isShowNPFeats(), sp.seqCanvas.fr.getMinMax()); - setToolTipText("" + sequence.getDisplayId(true) + " " - + tip.toString() + ""); + setToolTipText(JvSwingUtils.wrapTooltip(true, + sequence.getDisplayId(true) + " " + tip.toString())); } } -- 1.7.10.2