abc def //outputPanel10.setVisible(false); xyz cp3D.setVisible(true); //f.setVisible(false); f.setVisible(true);