title: import the package but got Access restriction type error
body: <p>I have imported <code>import javafx.application.Application;</code> and <code>import javafx.scene.Scene;</code></p>
  
  <p>I  get error message like </p>
  
  <blockquote>
    <p>Access restriction: The type 'ScrollPane' is not API (restriction on required library <code>C:\Program Files\Java\jre1.8.0_144\lib\ext\jfxrt.jar</code>)</p>
  </blockquote>
  
  <p>How can I resolve it?</p>