User Comments for the tutorial:

Setting the close button operation for the frame in Java



What if
What if i want to close a "child" window using only a button? (not the close button on the top right of the frame) 

the above post was very helpful.. 

close window
hi i need a help, i created a frame with buttons and labels, and i put two buttons, the first is validate and the second is cancel,so what method should i use to make the frame closes when the user click on cancel, please reply as fast as you can,  

Closing AWT Child frame
Hi, How do I use the close button of the (child)frame to dispose the (child)frame and continue the rest of the application? tHANKS  

thank u
i hv some doubt regardingb AWT windowClosing event...ur site helped me to clear it now...thank a lot..... 

please Update me with some stuff
can you please send me any updated information every week.thanks 

java program
i hava created a java program but i could close the event even the close event is System.exit(0) 

Related Tutorial and Articles
General Information

What is AWT in java
What is AWT in java In this Example we will describe awt in java. The awt in java stands for Abstract Windowing Toolkit and is a package... In this example We have create frame in java AWT package. The frame in java works 

Java Interview Questions

Java AWT
Java AWT  What interface is extended by AWT event listeners 

Java Interview Questions

Java AWT
Java AWT  What is meant by controls and what are different types of controls in AWT 


Java AWT Package Example
Java AWT Package Example       In this section you will learn about the AWT package of the Java... as Abstract Window Toolkit (AWT).   What is AWT in java 

Swing AWT

java - Swing AWT
What is Java Swing AWT  What is Java Swing AWT 

Java Beginners

Java AWT Applet example  how to display data using JDBC in awt/applet 

Swing AWT

awt list item* - Swing AWT
information. Thanks...awt list item*  how do i make an item inside my listitem... frame=new Frame("Add list"); Label label=new Label("What is your Choice 

Java Interview Questions

Java AWT
Java AWT  What is the relationship between the Canvas class and the Graphics class 

Java Interview Questions

Java AWT event hierarchy
Java AWT event hierarchy  What class is the top of the AWT event hierarchy?  The java.awt.AWTEvent class is the highest-level class in the AWT event-class hierarchy 

Java Interview Questions

awt - Java Interview Questions
awt  what is the difference between awt and swings  Hi friend, These are basically the main differences between awt and swing. 1.swing components sits on the top of AWT components and do the wiork. 2.AWT