windowedHostFrame.setTitle(DEFAULT_HOST_FRAME_TITLE);
} else {
Window rootOwner = activeWindow.getRootOwner();
windowedHostFrame.setTitle(rootOwner.getTitle());
Image rootIcon = rootOwner.getIcon();
if (rootIcon instanceof Picture) {
Picture rootPicture = (Picture)rootIcon;
windowedHostFrame.setIconImage(rootPicture.getBufferedImage());
}
}