DBCompound compound = listElementModel.getCompoundAt(index);
URL url2D = compound.get2DStructureURL();
URL url3D = compound.get3DStructureURL();
String name = compound.getName() + " ("
+ compound.getPropertyValue(PeakIdentity.PROPERTY_ID) + ")";
MolStructureViewer viewer = new MolStructureViewer(name, url2D,
url3D);
Desktop desktop = MZmineCore.getDesktop();
desktop.addInternalFrame(viewer);
}