JAL-3253 preliminary static fixes for JavaScript
[jalview.git] / src / jalview / gui / AssociatePdbFileWithSeq.java
index ddf38c6..154582f 100644 (file)
@@ -52,8 +52,8 @@ public class AssociatePdbFileWithSeq
     PDBEntry entry = new PDBEntry();
     StructureFile pdbfile = null;
     pdbfile = StructureSelectionManager.getStructureSelectionManager(ssmp)
-            .setMapping(false, new SequenceI[] { sequence }, null, choice,
-                    file);
+            .setMapping(false, new SequenceI[]
+            { sequence }, null, choice, file);
     if (pdbfile == null)
     {
       // stacktrace already thrown so just return
@@ -65,7 +65,7 @@ public class AssociatePdbFileWithSeq
 
       if (prompt)
       {
-        reply = JvOptionPane.showInternalInputDialog(Desktop.desktop,
+        reply = JvOptionPane.showInternalInputDialog(Desktop.getDesktopPane(),
                 MessageManager
                         .getString("label.couldnt_find_pdb_id_in_file"),
                 MessageManager.getString("label.no_pdb_id_in_file"),