Commit 505c2b10 authored by h2b's avatar h2b

Triggering of key events enabled.

parent 1f4fee09
...@@ -46,6 +46,7 @@ trait AwtEventDriver extends AwtScreenDriver { ...@@ -46,6 +46,7 @@ trait AwtEventDriver extends AwtScreenDriver {
panel.addMouseListener(MouseListener) panel.addMouseListener(MouseListener)
panel.addMouseMotionListener(MouseListener) panel.addMouseMotionListener(MouseListener)
panel.addMouseWheelListener(WheelListener) panel.addMouseWheelListener(WheelListener)
panel.requestFocusInWindow() //required for key events to be triggered
private object KeyListener extends AwtKeyListener { private object KeyListener extends AwtKeyListener {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment