add panel to init children and add setContent mothed