无法导入导入javafx.geometry.Point2D

时间:2016-03-21 11:01:09

标签: java eclipse geometry-class-library

尝试导入javafx.geometry.Point2D时,收到以下错误消息:

Access restriction: The type 'Point2D' is not API (restriction on required library 'C:\Program Files\Java\jre1.8.0_65\lib\ext\jfxrt.jar')

我尝试导入javafx.geometry.*,但我仍然无法从Point2D类创建对象。有关如何解决此问题的任何建议吗?

0 个答案:

没有答案