🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.lenguajes.java
Article #911

Re: Entrada de un caracter en java

#911
From: Alef_0
Date: Fri, 06 Oct 2006 09:39
13 lines
1565 bytes
El Fri, 06 Oct 2006 02:11:30 -0700, Txipiron escribi�:

> No tengo a mano ningun ejemplo pero claro que se puede!
> 
> Tendras que implementar esta interfaz.
> 
> http://java.sun.com/j2se/1.3/docs/api/java/awt/event/KeyListener.html
> 
> 
Efectivamente esa interfaz ofrece la posibilidad, pero pertenece al
package awt y supongo que solo funcionara si el evento lo emite un
componente gr�fico. Lo pretendo es recoger el car�cter pulsado en una
consola en modo texto sin entorno gr�fico.
Technical Details
Message-ID: <pan.2006.10.06.09.39.04.976373@parametr.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!news.tu-darmstadt.de!newspeer1.de.telia.net!newspeer4.de.telia.net!de.telia.net!newsf01.ono.com!news.ono.com.POSTED!53ab2750!not-for-mail
References: <pan.2006.10.06.07.23.30.698105@parametr.com> <1160125890.216136.62040@i3g2000cwc.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1116f3,8cb94bc4dbe5fcbf
X-Google-Attributes: gid1116f3,public
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!news.tu-darmstadt.de!newspeer1.de.telia.net!newspeer4.de.telia.net!de.telia.net!newsf01.ono.com!news.ono.com.POSTED!53ab2750!not-for-mail
From: Alef_0 <altair@parametr.com>
Subject: Re: Entrada de un caracter en java
User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))
Message-ID: <pan.2006.10.06.09.39.04.976373@parametr.com>
Newsgroups: es.comp.lenguajes.java
References: <pan.2006.10.06.07.23.30.698105@parametr.com> <1160125890.216136.62040@i3g2000cwc.googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Lines: 13
Date: Fri, 06 Oct 2006 11:39:05 +0200
NNTP-Posting-Host: 81.203.107.62
X-Trace: news.ono.com 1160127506 81.203.107.62 (Fri, 06 Oct 2006 11:38:26 MEST)
NNTP-Posting-Date: Fri, 06 Oct 2006 11:38:26 MEST