Am Mittwoch, 15. März 2006 11:45 schrieb Mark Wielaard:

I found out that the version in kaffe 1.1.7rc1 
is too different to use the patch. So I could not test the fix so far.

> On Wed, 2006-03-15 at 11:35 +0100, Bernhard Reiter wrote:
> > From looking at the diff I believe that this would not affect keyboard
> > events, so the keyboard bug might still be in there.
>
> Yes. If you have a small testcase for the keyboard issue that would be
> appreciated. 

I have attached a smal test application.
It shows the problem here.

Bernhard
import java.awt.*;
import java.awt.event.*;

public class TestKeyEvents extends Frame implements KeyListener
{
  public static void main(String[] args)
  {
    TestKeyEvents windows = new TestKeyEvents();
  }

  public TestKeyEvents()
  {
    super("Keyboard Events");
    addKeyListener(this);
    setSize(250,250);
    setVisible(true);
  }

  public void keyPressed(KeyEvent event)
  {
    System.out.println( "key pressed: " 
      + "key char = " + event.getKeyChar() + " "  
      + "key code = " + event.getKeyCode()
    );
  }

  public void keyReleased(KeyEvent event)
  {
    System.out.println("key released");
  }

  public void keyTyped(KeyEvent event)
  {
    char key = event.getKeyChar();
    System.out.println("key typed: " + key);
  }

}
_______________________________________________
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to