wrap preset description tooltips
authorjprocter <Jim Procter>
Thu, 9 Sep 2010 15:48:56 +0000 (15:48 +0000)
committerjprocter <Jim Procter>
Thu, 9 Sep 2010 15:48:56 +0000 (15:48 +0000)
src/jalview/ws/jws2/MsaWSClient.java

index d7b968d..fce5178 100644 (file)
@@ -317,10 +317,10 @@ public class MsaWSClient extends Jws2Client
         for (final WsParamSetI preset : presets)
         {
           final JMenuItem methodR = new JMenuItem(preset.getName());
-          methodR.setToolTipText("<html><p><strong>"
+          methodR.setToolTipText("<html><p>"+JvSwingUtils.wrapTooltip("<strong>"
                   + (preset.isModifiable() ? "User Preset"
                           : "Service Preset") + "</strong><br/>"
-                  + preset.getDescription() + "</p></html>");
+                  + preset.getDescription() + "</p>")+"</html>");
           methodR.addActionListener(new ActionListener()
           {
             public void actionPerformed(ActionEvent e)