Adding javafx custom control jar file to Scene Builder

1192
1
08-16-2021 01:28 AM
VanyaIvanov
Occasional Contributor

I try to add jar file created by Maven to Scene Builder. But i have only AttributionControl tag in the Import dialog. What could be the problem becouse of which i can't see my MapArcgis.jar custom control  inside Import Dialog window?

VanyaIvanov_0-1629102445671.png

VanyaIvanov_0-1629106750132.png

 

 

 

0 Kudos
1 Reply
DaveWhitla
New Contributor III

The components in your JAR are possibly not exported correctly (Java9+). IF you are using Java9 or later you need to export all control packages to the unnamed package and open to javafx.fxml any packages with controls you want to reference in FXML.

Try starting SceneBuilder from the command line and tail the output to see what exceptions are preventing your controls from appearing in the import list.