aspose file tools*
The moose likes Java in General and the fly likes Closing a Frame in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Closing a Frame in Java" Watch "Closing a Frame in Java" New topic
Author

Closing a Frame in Java

Richard Mendoza
Ranch Hand

Joined: Feb 26, 2003
Posts: 48
I have a command button in my frame named CLOSE. What is the command that will close the the frame after clicking the CLOSE command button?
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
    
    6
Are you talking about an AWT/Swing frame, or a HTML frame?
Simon
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
Moving to Java In General( intermediate ) forum....


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Here's a simple example:


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
Consider Paul's rocket mass heater.
 
subject: Closing a Frame in Java