JFXtras和Netbeans编译器问题

JFXtras和Netbeans编译器问题,netbeans,javafx,jfxtras,Netbeans,Javafx,Jfxtras,有人能告诉我如何将最新的JFXtras包添加到Netbeans中的项目中吗?我不确定我做错了什么。。。无论是导入错误、实现错误,还是仅仅下载错误的jar文件。我正在使用JavaFX1.3和NetBeans6.9 我已经能够让NetBeans识别库中的组件(我键入XCustomNode,它会提示我从org导入)。​jfxtras。​但是,在尝试构建/运行时,我遇到了如下编译器错误: Note: An internal error has occurred in the OpenJFX compil

有人能告诉我如何将最新的JFXtras包添加到Netbeans中的项目中吗?我不确定我做错了什么。。。无论是导入错误、实现错误,还是仅仅下载错误的jar文件。我正在使用JavaFX1.3和NetBeans6.9

我已经能够让NetBeans识别库中的组件(我键入XCustomNode,它会提示我从org导入)。​jfxtras。​但是,在尝试构建/运行时,我遇到了如下编译器错误:

Note: An internal error has occurred in the OpenJFX compiler. Please file a bug at the Openjfx-compiler issues home (https://openjfx-compiler.dev.java.net/Issues) after checking for duplicates.  Include in your report:
- the following diagnostics
- file C:\Documents and Settings\me\Local Settings\Temp\javafx_err_4220242024568343160.txt
- and if possible, the source file which triggered this problem. Thank you. C:\Documents and Settings\me\My Documents\NetBeansProjects\project\src\input\NumberWithLabelNode.fx:24: cannot access com.sun.javafx.runtime.location.ObjectVariable class file for com.sun.javafx.runtime.location.ObjectVariable not found public class NumberWithLabelNode extends XCustomNode { 1 error

我不认为我真的需要向Openjfx报告这件事。。。我的直觉告诉我丢失了一个文件。

不确定您使用的是哪个版本的JFXtras,但我在使用0.7rc版和JavaFX1.3版时取得了更好的成功


除了确保库中的通用jar和控件jar之外,我还必须添加miglayout-3.7.jar和swing-worker-1.2.jar,这些都可以在

上找到。您面临的问题是库的版本不正确。您正在尝试使用使用JavaFX1.2.*编译的JFXtras,并且您的项目正在使用JavaFX1.3。。正如您在官方网站上了解到的,JavaFX还不能向后兼容。使用JavaFX1.3获取更新的库或重建源代码。

非常好。我很确定那是我的问题。。。如果我遇到更多的问题,我会发回这里。顺便说一句您知道jfxtras 0.7文档是否存在吗?非常感谢!我能找到的最好的东西是jfxtras 0.6 javadocs,是的,这里也一样。让我有点犹豫是否将其应用到项目中。再次感谢,谢谢!很确定这就是问题所在。我将尝试一下新的JFXtras库。