I have a JavaFX project in Intellij and I need to import an external library (jfxtras, which will give me JavaFX add-ons). After going to File -> Project Structure -> SDKs -> Classpath and adding the jar file for jfxtras, Intellij doesn't recognize the import statement for jfxtras and the code doesn't complile.
There is no package statement at the top of the file; I was wondering if this may have anything to do with it. The code compiles before typing the import statement and without any package statement.