Re: Close a frame, not the application?
- From: Chase Preuninger <chasepreuninger@xxxxxxxxx>
- Date: Sun, 13 Apr 2008 08:03:48 -0700 (PDT)
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.
.
- References:
- Close a frame, not the application?
- From: WJ
- Close a frame, not the application?
- Prev by Date: Re: CellRendererPane causes cursor flickering during drag and drop
- Next by Date: Re: CellRendererPane causes cursor flickering during drag and drop
- Previous by thread: Re: Close a frame, not the application?
- Next by thread: Instant Chat System for 1000 simultaneous clients
- Index(es):
Relevant Pages
|