Reputation: 135
I can not add gluonhq.charm elements or open gluon FXML with "charm-common-2.2.0.jar" library in my scene builder Builder 8.2 (I tried with 8.1.1 too).
When I add the jar file, nothing is added in the left section on scene builder. But the jar is correctly added in the Library folder.
See image below
Or when I try to open a gluon FXLM, I have this exception :
Caused by: java.lang.ClassNotFoundException: com.gluonhq.charm.glisten.mvc.View
Can you help me ?
Upvotes: 2
Views: 2913
Reputation: 45476
If you want Gluon's Charm library, you need com.gluonhq:charm:2.2.0
, not charm-common
.
With Scene Builder 8.2.0 it is easy to install.
You can follow the documentation here. Basically, you will need to select JAR/FXML Manager
, click on Search repositories
, type charm
, and select com.gluonhq:charm
.
Click Add JAR
and you'll see all the components that can be added to the Custom Panel in Scene Builder. Finally, click on Import Components
.
Upvotes: 3