有人可以指导我将最新的 JFXtras 包添加到 Netbeans 中的项目的正确方法吗?我不确定我做错了什么......无论是导入不正确,实施不正确,还是只是下载了错误的 jar 文件。我正在使用 JavaFX 1.3 和 NetBeans 6.9。
我已经能够让 NetBeans 识别库中的组件(我键入 XCustomNode,它会提示我从 org.jfxtras.scene 导入。)但是,在尝试构建/运行时,我收到编译器错误例如:
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 报告这个......我的直觉说我丢失了一个文件。