jmix2.0如何通过ID获取component

ScrollBoxLayout sbox=(ScrollBoxLayout) getWindow().getComponent(“fieldGroupBox”);
jmix1.4可以getWindow().getComponent(id)方法获取,jmix2.0似乎做了改变。

getContent().getComponent(id)