Problem about SubWindow

I created the widgetset to display the Google Earth,which I used the library GWT-Earth_3.8.0 of Google. I add the widget in the MainWindow, Google Earth is displayed well.But when I add widget in the subwindow, it 's not displayed. And when I resize the subwindow, Google earth appear. Anybody can give me an idea? Thanks.