aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes defaultCloseOperation: EXIT_ON_CLOSE or DISPOSE_ON_CLOSE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "defaultCloseOperation: EXIT_ON_CLOSE or DISPOSE_ON_CLOSE" Watch "defaultCloseOperation: EXIT_ON_CLOSE or DISPOSE_ON_CLOSE" New topic
Author

defaultCloseOperation: EXIT_ON_CLOSE or DISPOSE_ON_CLOSE

Leandro Coutinho
Ranch Hand

Joined: Mar 04, 2009
Posts: 417
Hi!

Which one should I use for the defaultCloseOperation: EXIT_ON_CLOSE or DISPOSE_ON_CLOSE?

Thank you!
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5266
    
  13

Hi Leandro,

I used this line of code: setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

Kind regards,
Roel

SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: defaultCloseOperation: EXIT_ON_CLOSE or DISPOSE_ON_CLOSE