String[] funcGroupsKeys=new String[0];
symbol=EnterElementOrGroupDialog.showDialog(null,null, GT.get("Enter an element symbol:"), GT.get("Enter element"), funcGroupsKeys, "","");
if(symbol!=null && symbol.length()>0){
if(Character.isLowerCase(symbol.toCharArray()[0]))
symbol=Character.toUpperCase(symbol.charAt(0))+symbol.substring(1);
IsotopeFactory ifa;
try {
ifa = XMLIsotopeFactory.getInstance(jcpPanel.getChemModel().getBuilder());
IIsotope iso=ifa.getMajorIsotope(symbol);
if(iso==null){
JOptionPane.showMessageDialog(jcpPanel, GT.get("No valid element symbol entered"), GT.get("Invalid symbol"), JOptionPane.WARNING_MESSAGE);
return;
}
} catch (IOException e) {