jajuk-team / jajuk

Advanded jukebox for users with large or scattered music collections
48 stars 19 forks source link

Removing cobra library dependency #2013

Closed gkerdal closed 7 years ago

gkerdal commented 7 years ago

Here is a new topic for discussing how to remove cobra library dependency.

Context : cobra is a graphical library used in jajuk to show wikipedia web content. The library doesn't seem to be maintained, it has been fixed by jajuk team for the 1.10 Jajuk version to fix a bug.

Bertrand suggested me the link [1] below to replace the Wikipedia view.

I managed to make it work on a prototype version of Jajuk with Oracle JDK 8 installed (Ubuntu). The content of wikipedia is correctly displayed, even images, it may require a bit more ressources than cobra library but it's just my opinion.

Before going further testing, let's discuss this JavaFx solution.

JavaFx seems only integrated in Oracle JVM since Java 7 (u 6). On previous version it is a separate component, but that's not a big drawback since Jajuk now requires Java 7.

I found on the [2] link that JavaFX si not yet integrated in Open jdk 1.8. So using JavaFX may force Jajuk users to install proprietary Oracle Jvm, not sure it's compatible with jajuk's principles. What do you think ?

[1] https://docs.oracle.com/javase/8/javafx/interoperability-tutorial/swing-fx-interoperability.htm [2] http://stackoverflow.com/questions/28142746/is-javafx-supported-in-openjdk