I trying to run tutorial code from VWorkflow (I've just copied code and only package changed). Before this code it works. I have requires and dependencies in code to this library. Everythings seems to be OK but only ScalableContentPane is not working and because this my code doesn't run. I add jfxtras dependences in pom.xml
<dependency>
<groupId>org.jfxtras</groupId>
<artifactId>jfxtras-labs</artifactId>
<version>8.0-r6</version>
</dependency>
And also I add requires to module-info.java
requires jfxtras.labs;
And my importing code.
import jfxtras.labs.scene.layout.ScalableContentPane;
But when I trying to run this app build output gives me that error
java: the unnamed module reads package jfxtras.labs.util.event from both jfxtras.labs and vworkflows.fx
as main error. And another error in module-info errors
java: module com.example.learningfx reads package jfxtras.labs.util.event from both jfxtras.labs and vworkflows.fx
There is all errors
I'm using IntelliJ and use JavaFX to build. If you need VWorkflow github. What do I need to do?
First of all you're using JFXtras labs, which is experimental and unsupported code, so if it does not work anymore, then that's it. It's called labs for a reason :-)
But apparently you are using a version of Java with JPMS, 9+, then you should also use JFXtras 9 or 11. You are currently using JFXtras 8.