private static void onComponentAdded(Container container, final P1<Component> f) {
		container.addContainerListener(new ContainerListener() {
			public void componentRemoved(ContainerEvent e) {}
			
			public void componentAdded(ContainerEvent e) {
				f.e(e.getChild());
			}
		});
	}