File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

defaultCloseOperation: EXIT_ON_CLOSE or DISPOSE_ON_CLOSE

 
Leandro Coutinho
Ranch Hand
Posts: 423
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

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

Thank you!
 
Roel De Nijs
Sheriff
Posts: 9176
77
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Leandro,

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

Kind regards,
Roel
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic