/** * Creates a new ULCExtendedInternalFrame and populates it with a view. * * @param view * the view to be set into the internal frame. * @return the constructed internal frame. */ private ULCExtendedInternalFrame createULCExtendedInternalFrame( IView<ULCComponent> view) { ULCExtendedInternalFrame internalFrame = new ULCExtendedInternalFrame(view .getDescriptor().getI18nName(getTranslationProvider(), getLocale())); internalFrame.setFrameIcon(getIconFactory().getIcon( view.getDescriptor().getIconImageURL(), IIconFactory.SMALL_ICON_SIZE)); internalFrame.setResizable(true); internalFrame.setClosable(false); internalFrame.setMaximizable(true); internalFrame.setIconifiable(true); internalFrame.getContentPane().add(view.getPeer()); internalFrame.setDefaultCloseOperation(IWindowConstants.HIDE_ON_CLOSE); return internalFrame; }