protected void addUIForContent(Content content, Object... constraints) {
JInternalFrame internalFrame = (JInternalFrame) detachedContentUIMap.get(content);
if (internalFrame == null) {
internalFrame = new DesktopContentFrame(content, content.getTitle(), true, true, true, true);
internalFrame.setFrameIcon(content.getIcon());
internalFrame.setClosable(closeable);
((DesktopContentFrame) internalFrame).setDetachable(detachable);
internalFrame.getContentPane().add(content.getComponent());