日期:2014-05-20  浏览次数:20629 次

请问,有没有方法能够将容器内的控件全部清除?谢谢了
如题

------解决方案--------------------
Container parent = this.getParent();
parent.removeAll();