public void updateGroupNameInVisualGraphsComponentArray(final String oldName, final String newName){
final Component[] c = this.visualGraphs.get(0).getComponents();
for(int i = 0 ; i < c.length ; i++){
if(c[i] instanceof GroupOperatorPanel){
final GroupOperatorPanel gop = (GroupOperatorPanel)c[i];
if(gop.getGroupName().equals(oldName)){
gop.setGroupName(newName);
gop.setGroupLabelName(newName);
}
}
}
}