Java JPanel Child removePanel(JPanel parent, JPanel panel)

Here you can find the source of removePanel(JPanel parent, JPanel panel)

Description

remove Panel

License

Open Source License

Declaration

public static void removePanel(JPanel parent, JPanel panel) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.swing.JPanel;

public class Main {
    public static void removePanel(JPanel parent, JPanel panel) {
        parent.remove(panel);//from  w  w w . j a  v  a 2 s .  c  o  m
    }
}

Related

  1. fillPanel(JPanel panel, Component... components)
  2. getOutermostContainer(JPanel container)
  3. packPanel(JPanel p, int width)
  4. padPanel(Object innerPanel, JPanel outerPanel, int pad)
  5. removeComponentFromPanel(Component removeComponent, JPanel fromPanel)
  6. resetControlsInAPanel(JPanel panel)
  7. resizeJPanel(JPanel p)
  8. unmaskContainer(JPanel pnl)
  9. wrapInMinimizer(JPanel panel)