From e027f5e68a48d24b62ee86eb840aa186144edd65 Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 9 Sep 2010 15:48:56 +0000 Subject: [PATCH] wrap preset description tooltips --- src/jalview/ws/jws2/MsaWSClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/ws/jws2/MsaWSClient.java b/src/jalview/ws/jws2/MsaWSClient.java index d7b968d..fce5178 100644 --- a/src/jalview/ws/jws2/MsaWSClient.java +++ b/src/jalview/ws/jws2/MsaWSClient.java @@ -317,10 +317,10 @@ public class MsaWSClient extends Jws2Client for (final WsParamSetI preset : presets) { final JMenuItem methodR = new JMenuItem(preset.getName()); - methodR.setToolTipText("

" + methodR.setToolTipText("

"+JvSwingUtils.wrapTooltip("" + (preset.isModifiable() ? "User Preset" : "Service Preset") + "
" - + preset.getDescription() + "

"); + + preset.getDescription() + "

")+""); methodR.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) -- 1.7.10.2