From 3cafbe071e03ac84ac027f279b2299844388eda7 Mon Sep 17 00:00:00 2001 From: BobHanson Date: Wed, 8 Apr 2020 14:17:17 -0500 Subject: [PATCH] comments only --- src/jalview/project/Jalview2XML.java | 2 +- src/jalview/ws/jws2/SequenceAnnotationWSClient.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/project/Jalview2XML.java b/src/jalview/project/Jalview2XML.java index 2c93ee5..133ab57 100644 --- a/src/jalview/project/Jalview2XML.java +++ b/src/jalview/project/Jalview2XML.java @@ -4453,7 +4453,7 @@ public class Jalview2XML int height = safeInt(structureState.getHeight()); // Probably don't need to do this anymore... - // Desktop.getDesktop().getComponentAt(x, y); + // Desktop.getDesktopPane().getComponentAt(x, y); // TODO: NOW: check that this recovers the PDB file correctly. String pdbFile = loadPDBFile(jprovider, pdbid.getId(), pdbid.getFile()); diff --git a/src/jalview/ws/jws2/SequenceAnnotationWSClient.java b/src/jalview/ws/jws2/SequenceAnnotationWSClient.java index 9358c76..e8116a1 100644 --- a/src/jalview/ws/jws2/SequenceAnnotationWSClient.java +++ b/src/jalview/ws/jws2/SequenceAnnotationWSClient.java @@ -67,7 +67,7 @@ public class SequenceAnnotationWSClient extends Jws2Client // dan changed! dan test. comment out if conditional // if (alignFrame.getViewport().getAlignment().isNucleotide()) // { - // JvOptionPane.showMessageDialog(Desktop.getDesktop(), sh.serviceType + // JvOptionPane.showMessageDialog(Desktop.getDesktopPane(), sh.serviceType // + " can only be used\nfor amino acid alignments.", // "Wrong type of sequences!", JvOptionPane.WARNING_MESSAGE); // return; -- 1.7.10.2