Article View: es.comp.lenguajes.java
Article #26834Re: Comunicación Javascript --> Java
From: Jonathan Revusky
Date: Tue, 24 Nov 1998 00:00
Date: Tue, 24 Nov 1998 00:00
21 lines
1256 bytes
1256 bytes
Fifeton wrote: > Aupa Alejandro! > Estamos escuchando los eventos KeyEvent de un textfield. Cuando pulsamos > una tecla vemos que el textfield se acutaliza, pero al depurar, vemos > que en el m�todo keyPressed, el m�todo getText del textfield nos > devuelve el contenido del textfield ANTES de haberse pulsado la tecla. > Sabes c�mo solucionar esto? Utiliza los TextEvent con el TextListener y por lo tanto, el m�todo textValueChanged(TextEvent e) Jonathan Revusky -- Available for Java and Delphi Consulting Make your .class files double-clickable with SmartJ http://www.bigfoot.com/~crystalline.solutions
Technical Details
Message-ID:
<365ADE90.C608C659@jet.es>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36515830.C409CA15@usa.net> <365A95F7.50F2666@iname.com>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: 1116f3,1388fddc930b455f X-Google-Attributes: gid1116f3,public From: Jonathan Revusky <jrevusky@jet.es> Subject: Re: Comunicación Javascript --> Java Date: 1998/11/24 Message-ID: <365ADE90.C608C659@jet.es> X-Deja-AN: 415205332 Content-Transfer-Encoding: 8bit References: <36515830.C409CA15@usa.net> <365A95F7.50F2666@iname.com> X-Accept-Language: en Content-Type: text/plain; charset=iso-8859-1 Organization: Telefonica Transmision de Datos Mime-Version: 1.0 Reply-To: jrevusky@bigfoot.com Newsgroups: es.comp.lenguajes.java