public Container createInstance(ComponentEntry root,EditableResources res){
  ArrayList<Runnable> postCreateTasks=new ArrayList<Runnable>();
  Container c=(Container)createInstance(root,res,null,null,postCreateTasks);
  for (  Runnable r : postCreateTasks) {
    r.run();
  }
  return c;
}

public Container createInstance ( ComponentEntry root , EditableResources res ) { ArrayList < Runnable > postCreateTasks = new ArrayList < Runnable > ( ) ; Container c = ( Container ) createInstance ( root , res , null , null , postCreateTasks ) ; for ( Runnable r : postCreateTasks ) { r . run ( ) ; } return c ; }
create a component instance from xml
