最新の 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 に報告する必要はないと思います... 私の直感では、ファイルが見つからないと言っています。