How to import and use java classes from a jar file into javafx project
Hello,
I have some java classes packaged into a jar file and I'm having problems importing them into a netbeans javafx project.
I have imported this jar into javafx project libraries but when I tried to instantiate the classes or import them into the javafx script it just don't work.
How to import and use java classes from a jar file into javafx project.
It looks like the known issue:
https://netbeans.org/bugzilla/show_bug.cgi?id=179448
Just import manually the necessary classes. The project should run even the editor highlights it as error.






Here you can find the code for this: http://www.javafxgame.com/calling-javafx-classes-from-java-code/