简体   繁体   中英

Problem importing JavaFx custom UI components to SceneBuilder

I have created some custom UI components in JavaFx, but when I imported the jar to the Scene Builder it says there are no UI components

I figured out the problem after searching all over the.net.

It was a problem of compatibility between the compiler and SceneBuilder.

I was using JDK 14 and JavaFX 14 to compile the components and importing the jar to SceneBuilder 11.

So I installed SceneBuilder 16 and problem solved.

And of course the UI components must meet the standards, extending a Node and all that.

I hope this is useful to you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM