public void replaceSystem(ToplevelList newsystem) {
public void replaceSystem(SystemElement newsystem) {
    public void replaceSystem(ToplevelList newsystem) {        if (system != null ) {            root.replaceChild(system, newsystem);        }        setSystem(newsystem);    }