setVisible « JFrame « Java Swing Q&A





1. How to use setVisible in JFrames?    stackoverflow.com

In my program I have two JFrame instances. When I click next button I want to show next frame and hide current frame. So I use this.setVisible(false) and new Next().setVisible(true). But ...

2. Can't find setVisible() in a Netbeans-created jFrame form    stackoverflow.com

I've got a jFrame Form with an action handler that instantiates a new form and switches over to it using setVisible(true). That much works. When I try to setVisible(false) on the current ...

3. JFrame won't setVisible( false )    coderanch.com

Strange problem. I am developing an application using 2 JFrames. Both JFrames are loaded during start up but only JFrame1 is visible. Pressing a button on JFrame1 sets JFrame1 invisible and JFrame2 visible. What happens is JFrame1 doesn't disappear and JFrame2 appears on top of JFrame1. The strange thing is this only happens once and this bug clears after switching back ...

5. JFrame.setVisible very slow in debugger    coderanch.com

Am developing a multi-window app using Swing in Eclipse and it's suddenly started running very slowly, especially in the debugger. It takes two minutes (I timed it - it seems a lot longer when you're waiting!) to open the three initial JFrame windows. Stepping thru with the debugger it seems to spend 10 or 20 seconds in setVisible - presumably it's ...

7. setVisible from other class/JFrame    forums.oracle.com

8. No ".setVisible( )" in JFrame    forums.oracle.com

Well in all my Jframes in NetBeans you know the .SetVisible method? well it seems to not exist anymore. like I was trying to make some buttons dissapear on my GUI when you pressed a button but yeah, it's not there anymore. Did I like push some odd setting or anything? And it does it with all the files I opened ...