if(!atom.getSymbol().equals(symbolField.getText()))
hub.setSymbol(atom, symbolField.getText());
if(atom.getMassNumber()==null || atom.getMassNumber()!=majorIsotopeNumber+((Integer)isotopeField.getValue()).intValue())
hub.setMassNumber(atom,majorIsotopeNumber+((Integer)isotopeField.getValue()).intValue());
}else{
PseudoAtom pseudo = new PseudoAtom(atom);
pseudo.setLabel(symbolField.getText());
pseudo.setImplicitHydrogenCount(((Integer)hCountField.getValue()).intValue());
pseudo.setFormalCharge(((Integer)formalChargeField.getValue()).intValue());
pseudo.setMassNumber(majorIsotopeNumber+((Integer)isotopeField.getValue()).intValue());
}
}catch(IOException ex){
if(atom.getImplicitHydrogenCount()!=((Integer)hCountField.getValue()).intValue())
hub.setImplicitHydrogenCount(atom,((Integer)hCountField.getValue()).intValue());