M
Mabel
Dear all,
Is it possible to get what user has typed in before he hit
carriage return?
Thkx.
Is it possible to get what user has typed in before he hit
carriage return?
Thkx.
BADBOY said:Never tried this before but, if i was to.. i`d start with implementing the
java.awt.event.KeyListener class in the top level object eg :-
class MyKeyTest extends JFrame implements java.awt.event.KeyListener{
public MyKeyTest(){
super();
}
public void keyPressed(KeyEvent e){}
public void keyReleased(KeyEvent e){}
public void keyTyped(KeyEvent e){}
}
no idea if this will do what you are trying to achieve, but must be a good
place to start
if not maybe try extending the Object thats receiving the key strokes and
implementing KeyListener in that.
Jonney.
Is it possible to get what user has typed in before he hit
carriage return?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.