Unable to import import javafx.geometry.Point2D

817 Views Asked by At

When trying to import javafx.geometry.Point2D, i get the following error message:

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

I have tried to import javafx.geometry.*, but I'm still unable to create objects from the Point2D class. Any suggestions on how to fix this?

0

There are 0 best solutions below