initStatusPanel();
} else {
throw new UnsupportedOperationException("Can only initialize once");
}
getWorld().getSky().addChildrenListener(new ChildListener() {
public void childAdded(WorldObject wo) {
if (wo instanceof Window) {
UIEnvironment.getInstance().setTopWindow((Window) wo);
}