Java Eclipse GUI Tutorial 8 # How To Open A Second jframe using First jframe
Vložit
- čas přidán 28. 07. 2014
- ★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ bit.ly/2vsuMaS ⚫️ bit.ly/2GOaeQB
Java Programming Course ➡️ bit.ly/2GEfQMf ⚫️ bit.ly/2Vvjy4a
Bash Shell Scripting Course ➡️ bit.ly/2DBVF0C ⚫️ bit.ly/2UM06vF
Linux Command Line Tutorials ➡️ bit.ly/2IXuil0 ⚫️ bit.ly/2IXukt8
C Programming Course ➡️ bit.ly/2GQCiD1 ⚫️ bit.ly/2ZGN6ej
C++ Programming Course ➡️ bit.ly/2V4oEVJ ⚫️ bit.ly/2XMvqMs
PHP Programming Course ➡️ bit.ly/2XP71WH ⚫️ bit.ly/2vs3od6
Android Development Course ➡️ bit.ly/2UHih5H ⚫️ bit.ly/2IMhVci
C# Programming Course ➡️ bit.ly/2Vr7HEl ⚫️ bit.ly/2W6RXTU
JavaFx Programming Course ➡️ bit.ly/2XMvZWA ⚫️ bit.ly/2V2CoAi
NodeJs Programming Course ➡️ bit.ly/2GPg7gA ⚫️ bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps ➡️ bit.ly/2Wd4l4W ⚫️ bit.ly/2J1B1ug
Scala Programming Tutorial Course ➡️ bit.ly/2PysyA4 ⚫️ bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial ➡️ bit.ly/2DFQ2yC ⚫️ bit.ly/2VoJWwH
MongoDB Tutorial Course ➡️ bit.ly/2LaCJfP ⚫️ bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners ➡️ bit.ly/2vwqHSZ
★★★ Online Courses to learn ★★★
Get 2 FREE Months of Unlimited Classes from skillshare - skillshare.eqcm.net/r1KEj
Data Science - bit.ly/2lD9h5L | bit.ly/2lI8wIl
Machine Learning - bit.ly/2WGGQpb | bit.ly/2GghLXX
Artificial Intelligence - bit.ly/2lYqaYx | bit.ly/2NmaPya
MERN Stack E-Degree Program - bit.ly/2kx2NFe | bit.ly/2lWj4no
DevOps E-degree - bit.ly/2k1PwUQ | bit.ly/2k8Ypfy
Data Analytics with R - bit.ly/2lBKqz8 | bit.ly/2lAjos3
AWS Certification Training - bit.ly/2kmLtTu | bit.ly/2lAkQL1
Projects in Java - bit.ly/2kzn25d | bit.ly/2lBMffs
Machine Learning With TensorFlow - bit.ly/2m1z3AF | bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - bit.ly/2lYvYRP
Kotlin Android Development Masterclass - bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - bit.ly/2kyX7ue
★★★ Follow ★★★
My Website - www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Java: How do I close a JFrame while opening another one?
How to close a jframe without closing the main program
Close one JFrame without closing another?
passing data from one jframe to another
How to disable main JFrame when open new JFrame
Opening new JFrame replaces current window
NetBeans Forums - Opening new Jframe in existing window
iit Learn java netbeans
java tutorial netbeans
For all those having problem in going back to Login Frame
this is how it is done
contentPane.setVisible(false); //look line-3 probably , if the name is contentPane then no need to change
dispose(); //this will DISPOSE OFF Current Window
login.main(null); //login is the class name which is ApplicationWindow and .main directs you to main //function of that class so it all rebegins :D
+Keshav Sharma thx guyyy it workss xdDDD
+chanowat thanasaksakul no problem :D
Thanks..:) It worked..
You, I love you!
thanks :)
Beautifully done! Thank you for the simplicity in your presentation
It took me forever to find this video - this is exactly what I was trying to figure out
Great video series! Thanks
your tutorials are helpful.thank you man.
This is very helpful. Thank you.
Mr programingknowledge
I tried to open the first frame by the second frame I mean go back usig same way of this lesson but it not work. Please can you help me? Thank you.
You are a life saver. Thank you thank you thank you! :)
You're a lifesaver! Thank you
thank you so much....it's really helpful :)
Thank you for this!
thank you very much sir that was helpful
Thanks alooooooooot u saved me a lot of time
thank you thank you thank you thank you thank you thank you !!!!!!!!!!!!!!!!
you save me man :)
love this guy
Man you're awesome
Hey there, how do I send a variable from the first form to the second? Just as an example, I want the second form to know the username typed in the first(login) form. How can I send that value? Thanks!
TOPPPPP!! THANKS MATE..
Could you please create a tutorial showing how to hide the second JFrame and returning to the main JFrame you mention that is the same but i don't get it
add any jButton to your second frame...
inside the actionPerformed of the jButton
write
"your 2nd frame name".setVisible(false);
"your 1st frame name".setVisible(true);
or
instead of the 2nd line
you can also write
new "1st frame class name"();
You're a hero
ITs really helpful
Java Eclipse GUI Tutorial 8 # How To Open A Second jframe using First jframe
thank you :***
Thanks for this !! but i have a problem , i am showing a third frame from the second frame , when i do this , i don't want the second frame to dispose ! my third frame appeared under the second . can you help me with that please ?
what about same window but different jframe? i mean any other way not using disposing the window of login
THANK YOU!!!!!!!
thank you
thanks!
Nice tutorial but I keep getting error when I want to close the second frame, the error I get is called:
Cannot make a static reference to the non-static method dispose() from the type
How to solve this?
How to make a jar for this project , so i can use it in another pc??
Can someone help me out please .
i am not getting the prompt even after creating my object suppose object name is 'r' then I am not getting the prompt for r.setVisible and it shows error.
Can you please show how to place a logout button in this second page and and the code related to it?
Hello everyone!!! How can i reopen the frame Login from frame employeeinfo? thanks :D
How to create in STS??
I don't see any Windows Builder section after clicking other
I use this code and it works fine but once I click the "login button" the only thing that will pop out is just a tiny bar of another frame and not my second frame itself.
Ps. I faced this error before I actually made the code works: The method setVisible(boolean) is undefined for the type Office.
how i can get username value in second jframe(in other class)?
setVisible method doesn't work with me! why?
what can i do to change the icon to the JFrame?
The error is easily found in the IDE by looking at the BRIGHT RED ICON in the tab and the red mark to the right. If you click on the red mark to the right it takes you to the line with the error and highlights it. I appreciate the tutorials, but please learn how to use the product before trying to onstruct others.
NotMyName Man, don't talk like that to him!!! His new at this and the name of the playlist is "
Java eclipse tutorial (for absolute beginers)"
The command "selectWindow.setVisible(true);" no longer works in eclipse, because setVisible() is a non-static method, but it is being called from a *static* method, Login's method *"Main."* I see no way to reconcile the non-static method setVisible with being called from a static location.
Do you have any solution for this?
How to close one jframe without closing another
Can u make a video on this
I have a problem. Anyone know how to close second JFrame without closing first. setvisible(false) only hide buttons and etc but window is still there. :c
From the Second frame to the Login Frame is not the same !
Do you know how to come back to Login Frame? Thanks
Ly Truong has anyone figured it out yet?
i did. Thank you
Ly Truong how?
Miguel Ojeda You are a bit stupid!!! (no offense)
How do I navigate to Login screen from second JFrame?
when he open second frame he said we should only have one main but the second frame also have main anyone know how can I delete the main of my second frame
Can you Show us sir how to logout
set your speed to 1.5 and see the magic :D :D
thanks bro
luv ya
not working error in set visible
Everything is good in all videos but what is guee it's G.U.I
I have problem
i am having some issues can i get ur mail id or telegram id to show where am i stuck already
Everything is good in all videos but what is guee it's G.U.I