/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2b1)
* Copyright (C) 2014 The Jalview Authors
*
* This file is part of Jalview.
} catch (Exception x)
{
x.printStackTrace();
- throw new Error("Implementation error", x);
+ throw new Error(MessageManager.getString("error.implementation_error"), x);
}
alignFrame.getViewport().getCalcManager().registerWorker(worker);
alignFrame.getViewport().getCalcManager().startWorker(worker);
for (final WsParamSetI preset : presets)
{
final JMenuItem methodR = new JMenuItem(preset.getName());
- methodR.setToolTipText("<html><p>"
- + JvSwingUtils.wrapTooltip("<strong>"
+ methodR.setToolTipText(JvSwingUtils.wrapTooltip(true, "<strong>"
+ (preset.isModifiable() ? MessageManager.getString("label.user_preset")
: MessageManager.getString("label.service_preset")) + "</strong><br/>"
- + preset.getDescription() + "</p>") + "</html>");
+ + preset.getDescription()));
methodR.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e)
Desktop.instance.showUrl(service.docUrl);
}
});
- annotservice.setToolTipText(JvSwingUtils.wrapTooltip(MessageManager.formatMessage("label.view_service_doc_url", new String[]{service.docUrl,service.docUrl})));
+ annotservice.setToolTipText(JvSwingUtils.wrapTooltip(true, MessageManager.formatMessage("label.view_service_doc_url", new String[]{service.docUrl,service.docUrl})));
wsmenu.add(annotservice);
}
}