0
我正在用javaFX 2.0製作應用程序。我想添加fileExplorer(發現於http://www.java-forums.org/blogs/duvanslabbert/92-java-file-explorer.html),因爲文件瀏覽器是擺動的。將swing與javaFX集成
在主舞臺,組根我不能添加文件瀏覽器,因爲它不是一個JavaFX節點
FileExplorer fe = new FileExplorer(new File("D:/"));
myVbox.getChildren().add(fe);
我得到這個錯誤:
The method add(Node) in the type List<Node> is not applicable for the arguments (FileExplorer)