Click to See Complete Forum and Search --> : Hiding a Frame. How To?
How can i hide a frame(jframe) on runtime? (without closing the frame).
Try
setVisible
public void setVisible(boolean b)
Shows or hides this component depending on the value of parameter b.
Parameters:
b - If true, shows this component; otherwise, hides this component.
Since:
JDK1.1
See Also:
isVisible()
KrishnaSantosh
Feb 8th, 2001, 02:31 AM
Use setVisible method.
For Instance :
JFrame jf=new JFrame("Test");
jf.setVisible(true) //Will Show
jf.setVisible(false) //will Hide
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.