- JvOptionPane.showMessageDialog(Desktop.desktop, MessageManager
- .formatMessage("label.seq_search_service_is_unknown",
- new String[] { sh.getName() }), MessageManager
- .getString("label.internal_jalview_error"),
+ JvOptionPane.showMessageDialog(Desktop.getDesktopPane(),
+ MessageManager.formatMessage(
+ "label.seq_search_service_is_unknown", new String[]
+ { sh.getName() }),
+ MessageManager.getString("label.internal_jalview_error"),