Hi,
I have a B4J 10.30 project with a Main Form Style Decorated.
In my AppStart I use this code:
If I start the code at the first time after starting B4J Suite there is no error.
If I'm starting the code next time again without doing any changes I get this error:
I' do not know why because the form is presented and working fine.
Any Idea about the reason of the error and how to avoid it?
I have a B4J 10.30 project with a Main Form Style Decorated.
In my AppStart I use this code:
Java code:
Dim jo As JavaObject = MainForm
Dim e As Object = jo.CreateEventFromUI("javafx.event.EventHandler", "scroll", Null)
jo.RunMethod("setOnScroll", Array(e))
If I'm starting the code next time again without doing any changes I get this error:
Error message:
Waiting for debugger to connect...
Program started.
(RuntimeException) java.lang.RuntimeException: Method: setOnScroll not found in: anywheresoftware.b4j.objects.Form
(RuntimeException) java.lang.RuntimeException: Method: setOnScroll not found in: anywheresoftware.b4j.objects.Form
I' do not know why because the form is presented and working fine.
Any Idea about the reason of the error and how to avoid it?