// TODO - tidy up this ugly hack so we call launchStructureViewer too
StructureChooser.openStructureFileForSequence(ssm, sc, ap,
selectedSequence, true, pdbFilename, tft, paeFilename,false,
- true,true,getTargetedStructureViewer(ssm).getViewerType());
+ true,false,getTargetedStructureViewer(ssm).getViewerType());
}
SwingUtilities.invokeLater(new Runnable()
{
sv = sc.launchStructureViewer(ssm, new PDBEntry[] { fileEntry }, ap,
new SequenceI[]
{ seq }, viewerType);
+ sv.getJalviewStructureDisplay().raiseViewer();
}
sc.mainFrame.dispose();