Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > swing- trapping mouse click on the close button(the x)

Reply
Thread Tools

swing- trapping mouse click on the close button(the x)

 
 
epicwinter@hotmail.com
Guest
Posts: n/a
 
      01-04-2005
I am trying to figure out how I can trap the event when someone clicks
on the upper right hand corner X to close a jinternalframe. I realize i
can tell when a frame is closed by adding an internal frame listener or
a component listener. But I want to know when a frame is closed for
clicking the x as opposed to an exit button i have or some other event
i have in my application which closes the window.????

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to close a TCP socket? (TCPSocket#close doesn't close it) IƱaki Baz Castillo Ruby 7 01-12-2010 01:32 PM
This code requires the user 2 click the mouse twice, how do i do itin just one mouse-click? Daniish Javascript 2 06-13-2008 08:41 PM
trapping a manual close signal paul.shepherd@virgin.net Perl Misc 0 02-25-2007 05:27 PM
Heres a mouse theres a mouse what a mouse do? unholy Gaming 37 09-17-2006 08:59 AM
ASP.Net Datagrid get Cell Contents on mouse click or mouse down Davisro ASP .Net 2 04-23-2004 07:18 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57