toAdd.setVisible(true);
toAdd.validate();
try { // to activate the JInternalFrame
toAdd.setSelected(true);
} catch (PropertyVetoException e) { // if some component does not like this
toAdd.moveToFront(); // then move it to front without activating
}
if(editor.isReachabilityEnabled()){ // is editor already added to RGVC ??
toAdd.updatePanelsVisibility(editor);
} else {
toAdd.addEditor(editor);