简体   繁体   English

将fxcontrols jar文件导入eclipse不起作用

[英]Importing fxcontrols jar file into eclipse doesn't work

I wanted to try the fxcontrols' SpreadsheetView example code at: 我想在以下位置尝试fxcontrols的SpreadsheetView示例代码:

https://controlsfx.bitbucket.io/org/controlsfx/control/spreadsheet/SpreadsheetView.html https://controlsfx.bitbucket.io/org/controlsfx/control/spreadsheet/SpreadsheetView.html

Somehow, adding their .jar file to my Eclipse test project as an external jar file doesn't help me resolve the import statements that are necessary. 不知何故,将它们的.jar文件作为外部jar文件添加到我的Eclipse测试项目中并不能帮助我解决必要的import语句。 For instance, it doesn't resolve/find the GridBase, SpreadSheetCell, or SpreadsheetView. 例如,它不解析/查找GridBase,SpreadSheetCell或SpreadsheetView。 Trying to manually import org.controlsfx.control.spreadsheet.SpreadsheetView doesn't work either. 尝试手动导入org.controlsfx.control.spreadsheet.SpreadsheetView也不起作用。

Shouldn't this just work immediately? 这不应该立即生效吗? I feel like the biggest noob right now. 我觉得自己现在是最大的菜鸟。

原来fxcontrols坏了,我应该将fxcontrols 8和jdk 1.8一起使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM