title: Detect input keyboard with Jython,MonkeyRunner and jTkinter
body: <p>I use MonkeyRunner with Jython-standalone 2.5.4-rc1 ,</p>
  
  <p>So I would like to detect the events of keyboard,
  I know this is possible with Tkinter :</p>
  
  <pre><code>import Tkinter as tk
  
  def onKeyPress(event):
     text.insert('end', 'You pressed %s\n' % (event.char, ))
     print 'keypress', event.char
  root = tk.Tk()
  root.geometry('300x200')
  text = tk.Text(root, background='black', foreground='white', font=('Comic Sans MS', 12))
  text.pack()
  root.bind('&lt;KeyPress&gt;', onKeyPress)
  root.mainloop()
  </code></pre>
  
  <p>So I use jTkinter but he put me an error (i just change the librairie)</p>
  
  <pre><code>import jTkinter as tk
  ...
  </code></pre>
  
  <p>and i get this error :</p>
  
  <pre><code>root = tk.Tk()
  AttributeError: 'javapackage' object has no attribute 'Tk'
  </code></pre>
  
  <p>How i can do it ?
  Thanks</p>