From: jprocter Date: Thu, 9 Sep 2010 15:48:56 +0000 (+0000) Subject: wrap preset description tooltips X-Git-Tag: Release_2_6~53 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e027f5e68a48d24b62ee86eb840aa186144edd65;p=jalview.git wrap preset description tooltips --- 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)