public static void openLoadDependentRoutingEditor(Container parent, HashMap<String, Object> params){
while (!(parent instanceof Frame || parent instanceof Dialog)) {
parent = parent.getParent();
}
LoadDependentRoutingEditor editor = null;
if (parent instanceof Frame) {
editor = new LoadDependentRoutingEditor((Frame) parent,params);
} else {
editor = new LoadDependentRoutingEditor((Dialog)parent,params);
}
editor.setVisible(true);
}