Hello,
The thread is about compilation - ImSnippetManager ver. 2.20
I am using the latest version - OpenJDK version 11.0.1
I am using Oracle JavaFX Scene Builder 2.0
When I build a standalone package - compilation is successful. I am getting the executable .EXE
When I run the project (F5) in compile mode, I get an error on the line: 547 (Main)
SUGGESTION: That would undoubtedly imply that JavaFX does not have a "reorderingProperty" method?
QUESTION: So, what is the best stable version of JavaFX for this?
The thread is about compilation - ImSnippetManager ver. 2.20
I am using the latest version - OpenJDK version 11.0.1
I am using Oracle JavaFX Scene Builder 2.0
When I build a standalone package - compilation is successful. I am getting the executable .EXE
When I run the project (F5) in compile mode, I get an error on the line: 547 (Main)
SUGGESTION: That would undoubtedly imply that JavaFX does not have a "reorderingProperty" method?
QUESTION: So, what is the best stable version of JavaFX for this?
Waiting for debugger to connect ...
Program started.
There was an error on the line: 547 (Main)
java.lang.RuntimeException: Method: reorderingProperty not found in: javafx.scene.control.skin.TableHeaderRow
at anywheresoftware.b4j.object.JavaObject$MethodCache.getMethod(JavaObject.java:363)
at anywheresoftware.b4j.object.JavaObject.RunMethod(JavaObject.java:120)
at com.snippetsmanager.lm.main._disablereordering(main.java:519)
at com.snippetsmanager.lm.main._appstart(main.java:395)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:632)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:237)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:167)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:108)
at anywheresoftware.b4a.shell.ShellBA.raiseEvent2(ShellBA.java:98)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:95)
at com.snippetsmanager.lm.main.start(main.java:38)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
at java.base/java.lang.Thread.run(Thread.java:834)
Sub DisableReordering:
Private Sub DisableReordering
Dim Jo As JavaObject = tbvSearch
Dim Header As JavaObject = Jo.RunMethod("lookup", Array("TableHeaderRow"))
Dim Prop As JavaObject = Header.RunMethod("reorderingProperty", Null)
Dim o As Object = Prop.CreateEventFromUI("javafx.beans.value.ChangeListener", "HeaderOrder", Null)
Prop.RunMethod("addListener",Array(o))
End Sub