Hello,
As I previously posted, I can't get keyboard events to work with the
blackdown jdk117_v3. Can someone please test on your own versions to
see if the samething happens with you.
Thanks,
Bob
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
public class KeyTest extends Applet implements KeyListener{
char ch;
public void init(){
requestFocus();
addKeyListener(this);
}
public void paint(Graphics g){
g.drawString("The Key typed was " + ch, 10, 100);
}
public void keyTyped(KeyEvent e){
ch = e.getKeyChar();
repaint();
}
public void keyPressed(KeyEvent e){
}
public void keyReleased(KeyEvent e){
}
}
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]