171172173174175176177178179180181
MTComponent[] childs = this.getChildren(); for (int i = 0; i < childs.length; i++) { MTComponent component = childs[i]; if (component.getName().equals("closeButton")) { MTSvgButton svgButton = (MTSvgButton) component; svgButton.destroy(); } } } }