caprica / vlcj-javafx-demo

Sample application showing vlcj rendering video in a JavaFX scene.
113 stars 46 forks source link

Exception in application constructor when main class is abstract #28

Closed borjaevo closed 4 years ago

borjaevo commented 4 years ago

I'm trying to include a vlcj player in my javafx app. I'm using your javafx direct rendering sample. In that example, the main class is abstract and extends application so TimeHandler class listen to player events and call start and stop timer methods. The problem i have is if i make my main class abstract JRE crashes: Exception in Application constructor Same error: https://github.com/caprica/vlcj-javafx/issues/23

I would like to know if there is some workaround to use timehandler without main app being abstract. Thanks