有人能夠通過將最新的JFXtras包添加到Netbeans中的項目的正確方式嗎?我不知道我在做什麼錯誤...是否導入不正確,執行不正確,還是隻是簡單地下載錯誤的jar文件。我正在使用JavaFX 1.3和NetBeans 6.9。JFXtras和Netbeans編譯器問題
我已經能夠讓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.7文檔是否存在? 非常感謝! – Greg 2010-07-29 15:56:48
我能找到的最好的東西是jfxtras 0.6 javadocs http://jfxtras.googlecode.com/svn/site/javadoc/release-0.6/index.html – 2010-07-29 21:40:03
是的,這裏也一樣。讓我有點猶豫,將其納入該項目。再次感謝。 – Greg 2010-07-30 16:07:12