Uninstalls the previously installed <code>LayoutManager</code>.

@param root the JRootPane.
338178
private void uninstallLayout(JRootPane root) {
        if (savedOldLayout != null) {
            root.setLayout(savedOldLayout);
            savedOldLayout = null;
        }
    }
901310
public void removeApplication(Application app) {
        this.appNameApplicationMap.remove(app.getName().toUpperCase(Locale.ROOT));
        this.applications.remove(app);
    }
874603
@SuppressWarnings("WeakerAccess")
	public void detachView(View view) {
		if (mViewState != null) {
			mViewState.detachView(view);
		} else {
			mViews.remove(view);
		}
	}
1081396
public void setSiteRoot(String root) {

        // site roots must never end with a "/"
        if (root.endsWith("/")) {
            m_siteRoot = root.substring(0, root.length() - 1);
        } else {
            m_siteRoot = root;
        }
    }
1278804
public static <S, N extends Node, E extends Event> void uninstall(InputMapTemplate<S, E> imt, S target, Function<? super S, ? extends N> getNode) {
        Nodes.removeInputMap(getNode.apply(target), imt.instantiate(target));
    }
1195603
public void free()
    {
        if (this.getTargetScreen(JBaseFrame.class) != null)
            ((JBaseFrame)this.getTargetScreen(JBaseFrame.class)).setTitle(null);
        this.freeSubComponents(this);
    }
852193
public void setRoot(int root)
  {

    super.setRoot(root);

  	m_exprObj = FilterExprIteratorSimple.executeFilterExpr(root, 
  	                  m_lpi.getXPathContext(), m_lpi.getPrefixResolver(), 
  	                  m_lpi.getIsTopLevel(), m_lpi.m_stackFrame, m_expr);

  }
842505
@Override
    public Root delete(Root root) throws WIMException {
        //Please DONOT UPDATE or CHANGE this wrapper.
        //If a need arises, please updated the searchImpl method call.

        final String METHODNAME = "delete";
        return genericProfileManagerMethod(METHODNAME, ProfileManager.DELETE, root);
    }
241323
public static void deleteContentsInDirectoryTree(File root, String includeMask) {
		Collection<File> files = getContentsInDirectoryTree(root, includeMask, true, true);
		for(File file : files) {
			if (file.exists()) {//file may meanwhile have been deleted
				if (file.isDirectory()) {
					//empty directory
					emptyDirectory(file.getAbsolutePath());
				}
				file.delete();				
			}
		}
	}
634228
public Boolean uninstallOverlay(JComponent targetComponent, JComponent overlay) {

        this.uninstallOverlay(targetComponent, overlay, null);

        return Boolean.TRUE;
    }
689144
public static void uninstall() throws IOException {
        try {
            Field factoryField = Socket.class.getDeclaredField("factory");
            factoryField.setAccessible(true);
            factoryField.set(null, previousSocketImplFactory);
        } catch (IllegalAccessException e) {
            throw new IOException("Failed to initialize SnifferSocketImplFactory", e);
        } catch (NoSuchFieldException e) {
            throw new IOException("Failed to initialize SnifferSocketImplFactory", e);
        }
    }
386654
public void setRoot(int root)
  {
    // %OPT% Get this directly from the lpi.
    XPathContext xctxt = wi().getXPathContext();
    m_dtm = xctxt.getDTM(root);
    m_traverser = m_dtm.getAxisTraverser(m_axis);
    m_isFresh = true;
    m_foundLast = false;
    m_root = root;
    m_currentNode = root;

    if (DTM.NULL == root)
    {
      throw new RuntimeException(
        XSLMessages.createXPATHMessage(XPATHErrorResources.ER_SETTING_WALKER_ROOT_TO_NULL, null)); //"\n !!!! Error! Setting the root of a walker to null!!!");
    }

    resetProximityPositions();
  }
50554
public static void remove(String key) {
        if (setContext()) {
            m_context.remove(key);
        } else {
            m_defaultContext.remove(key);
        }
    }
1372575
public boolean removeLayout(final Layout itemLayout) {
        boolean removed = false;
        if (itemLayout != null && mItemLayouts.remove(itemLayout)) {
            // remove the layout from all visible pages
            List<Widget>  views = getAllViews();
            for (Widget view: views) {
                view.removeLayout(itemLayout);
            }
            removed = true;
        }
        return removed;
    }
663041
public void installBorder(JRootPane root) {
        int style = root.getWindowDecorationStyle();

        if (style == JRootPane.NONE) {
            LookAndFeel.uninstallBorder(root);
        } else {
            root.setBorder(new SeaGlassBorder(this, new Insets(0, 1, 1, 1)));
        }
    }
765180
public void removeComponent(Object screenField)
    { // Set up the dependencies

        if (m_iNamePrefix != null)
            m_recThis.getField(m_iNamePrefix).removeComponent(screenField);
        m_recThis.getField(m_iNameFirst).removeComponent(screenField);
        if (m_iNameMiddle != null)
            m_recThis.getField(m_iNameMiddle).removeComponent(screenField);
        m_recThis.getField(m_iNameSur).removeComponent(screenField);
        if (m_iNameSuffix != null)
            m_recThis.getField(m_iNameSuffix).removeComponent(screenField);
        if (m_iNameTitle != null)
            m_recThis.getField(m_iNameTitle).removeComponent(screenField);

        super.removeComponent(screenField);
    }
591190
public void setLayout(String layout)
    {
        if (layout == null)
        {
            String message = Logging.getMessage("nullValue.StringIsNull");
            Logging.logger().severe(message);
            throw new IllegalArgumentException(message);
        }
        if (!this.layout.equals(layout))
        {
            this.layout = layout;
            clearControls();
        }
    }