Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java GUI > Re: Close a fra...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 9630 of 10019
Post > Topic >>

Re: Close a frame, not the application?

by Chase Preuninger <chasepreuninger@[EMAIL PROTECTED] > Apr 13, 2008 at 08:03 AM

You should first of all use JDialog, that would fix the problem.  But
however if you are hell bent on using JFrame just use the
f.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE) method.
 




 4 Posts in Topic:
Close a frame, not the application?
WJ <wjz@[EMAIL PROTECT  2008-04-11 15:00:06 
Re: Close a frame, not the application?
"Steve W. Jackson&qu  2008-04-11 08:28:03 
Re: Close a frame, not the application?
Roedy Green <see_websi  2008-04-11 21:27:43 
Re: Close a frame, not the application?
Chase Preuninger <chas  2008-04-13 08:03:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 21:22:01 CST 2008.