Article View: borland.public.jbuilder.java.swing
Article #11317Re: Capture window close
From: Khurram Shakir
Date: Sat, 19 Jun 1999 00:00
Date: Sat, 19 Jun 1999 00:00
17 lines
1061 bytes
1061 bytes
extend the class of with BasicWindowAdapter and override the windowclosing function. then add the following code to your frame code. e.g. if you are using JFrame f ; then add the following code f.addWindowListener(new youWindowAdapter()); I dont know the exact function but it is very closely match the addWindowListener. hope this will help, if you still want some help don't hesitate reply. -- Khurram Shakir Java Developer Progressive Systems(Pvt.) Limited kshakir@prosys.com.pk ICQ # : 17135971
Technical Details
Message-ID:
<7ke8tf$saa4@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<376A8034.C16BA072@silverfields.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,8fa1798dc11928cd X-Google-Attributes: gid111d45,public From: "Khurram Shakir" <kshakir@prosys.com.pk> Subject: Re: Capture window close Date: 1999/06/19 Message-ID: <7ke8tf$saa4@forums.borland.com> X-Deja-AN: 491187310 References: <376A8034.C16BA072@silverfields.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing