Dim jo As JavaObject = MainForm.RootPane
Dim e As Object = jo.CreateEventFromUI("javafx.event.EventHandler", "scroll", Null)
jo.RunMethod("setOnScroll", Array(e))
Dim r As Reflector
r.Target = MainForm.RootPane
r.AddEventFilter("KeyDown", "javafx.scene.input.KeyEvent.KEY_PRESSED")
r.AddEventFilter("KeyUp", "javafx.scene.input.KeyEvent.KEY_RELEASED")