|
-
Dec 12th, 2000, 07:41 AM
#1
How can i hide a frame(jframe) on runtime? (without closing the frame).
-
Dec 12th, 2000, 10:59 AM
#2
You might need this to show it too [if not using show()]
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()
-
Feb 8th, 2001, 03:31 AM
#3
Addicted Member
Use setVisible method.
For Instance :
JFrame jf=new JFrame("Test");
jf.setVisible(true) //Will Show
jf.setVisible(false) //will Hide
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|