115,225 views 166 on YTPak
274 51

Published on 01 May 2012 | over 6 years ago

------------------Online Courses to learn----------------------------
Java - bit.ly/2H6wqXk
C++ - bit.ly/2q8VWl1
AngularJS - bit.ly/2qebsLu
Python - bit.ly/2Eq0VSt
C- bit.ly/2HfZ6L8
Android - bit.ly/2qaRSAS
Linux - bit.ly/2IwOuqz
AWS Certified Solutions Architect - bit.ly/2JrGoAF
Modern React with Redux - bit.ly/2H6wDtA
MySQL - bit.ly/2qcF63Z

----------------------Follow---------------------------------------------
My Website - www.codebind.com
My Blog - goo.gl/Nd2pFn
My Facebook Page - goo.gl/eLp2cQ
Google+ - goo.gl/lvC5FX
Twitter - twitter.com/ProgrammingKnow
Pinterest - goo.gl/kCInUp
Text Case Converter - goo.gl/pVpcwL

-------------------------Stuff I use to make videos -------------------
Stuff I use to make videos
Windows notebook – amzn.to/2zcXPyF
Apple MacBook Pro – amzn.to/2BTJBZ7
Ubuntu notebook - amzn.to/2GE4giY
Desktop - amzn.to/2zct252
Microphone – amzn.to/2zcYbW1
notebook mouse – amzn.to/2BVs4Q3

------------------Facebook Links ----------------------------------------
fb.me/ProgrammingKnowledgeLearning/
fb.me/AndroidTutorialsForBeginners
fb.me/Programmingknowledge
fb.me/CppProgrammingLanguage
fb.me/JavaTutorialsAndCode
fb.me/SQLiteTutorial
fb.me/UbuntuLinuxTutorials
fb.me/EasyOnlineConverter
------------------------------------------------------------------------

it's simple just follow the below code:
First import these two files below
import java.awt.event.*;
import java.awt.*;


then write the method for close

public void close(){

WindowEvent winClosingEvent = new WindowEvent(this,WindowEvent.WINDOW_CLOSING);
Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(winClosingEvent);

}







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
Customize Your Hybrid Embed Video Player!

6-digit hexadecimal color code without # symbol.

 

Report video function is under development.

 


Loading related videos...