JAL-3253 preliminary static fixes for JavaScript
[jalview.git] / src / jalview / ws / jws1 / JPredClient.java
index 3b7bdb6..3dd8104 100644 (file)
@@ -323,7 +323,7 @@ public class JPredClient extends WS1Client
 
     } catch (Exception ex)
     {
-      JvOptionPane.showMessageDialog(Desktop.desktop,
+      JvOptionPane.showMessageDialog(Desktop.getDesktopPane(),
               MessageManager.formatMessage(
                       "label.secondary_structure_prediction_service_couldnt_be_located",
                       new String[]