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());
// 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;