Article View: es.comp.lenguajes.java
Article #25842Re: Impedir cierre de Frame
From: Juan Ribes Vidal
Date: Thu, 25 Feb 1999 00:00
Date: Thu, 25 Feb 1999 00:00
41 lines
1682 bytes
1682 bytes
This is a multi-part message in MIME format.
--------------09C03FD698EABCFB128B51DE
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Mira ver con esto.
Frame f_TuFrame = new Frame();
f_TuFrame.addWindowListener(new WindowAdapter(){
public void windowClosing(WindowEvent e){
//Dejandolo vacio no hace nada y no cierra la ventana
}
});
Mac.
Juan wrote:
> Alguien sabe como impedir que se cierre un Frame o JFrame al pulsar
> sobre el icono 'X' de la ventana en Win95.
--------------09C03FD698EABCFB128B51DE
Content-Type: text/x-vcard; charset=us-ascii;
name="ribes03.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Juan Ribes Vidal
Content-Disposition: attachment;
filename="ribes03.vcf"
begin:vcard
n:Ribes Vidal;Juan
tel;home:610-933076
tel;work:91-5504048
x-mozilla-html:FALSE
org:ALTRAN-SDB
version:2.1
email;internet:ribes03@tid.es
adr;quoted-printable:;;C/ Ramirez de Arellano 29, 6=AA planta, ala sur.=0D=0A28043;Madrid;Espa�a;;Espa�a (Spain)
fn:Juan Ribes Vidal
end:vcard
--------------09C03FD698EABCFB128B51DE--
Technical Details
Message-ID:
<36D5969A.744647E6@tid.es>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36D5683D.D394D94@duward.com>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit X-Google-Thread: 1116f3,23eb2d183cf55300 X-Google-Attributes: gid1116f3,public From: Juan Ribes Vidal <ribes03@tid.es> Subject: Re: Impedir cierre de Frame Date: 1999/02/25 Message-ID: <36D5969A.744647E6@tid.es> X-Deja-AN: 448419695 References: <36D5683D.D394D94@duward.com> X-Accept-Language: es-ES,en Content-Type: multipart/mixed; boundary="------------09C03FD698EABCFB128B51DE" Organization: ALTRAN SDB Mime-Version: 1.0 Newsgroups: es.comp.lenguajes.java