// method to handle key - down events
public boolean keyDown (Event e, int key)
{
System.out.println ("Charakter: " + (char)key + "
Integer Value: " + key);
return true;
}
if you run this in a browser look for a consol if you
run this in a command line key should appear