arjabbar
arjabbar

Reputation: 6404

How do you load a custom JAR into the SceneBuilder that's built into IntelliJ?

I'm trying to load a custom Control into the SceneBuilder that's running inside of IntelliJ. I downloaded the plugin from Gluon. In the stand-alone version I have installed, the option to import a custom JAR is available by clicking the gear icon under 'Library'. I see nothing like that when SceneBuilder is run from inside of IntelliJ in a tabbed editor view.

I would think that importing the JAR would allow me to see it show up in IntelliJ, but no such luck. It only shows up when SceneBuilder is ran stand-alone.

Upvotes: 1

Views: 1702

Answers (1)

José Pereda
José Pereda

Reputation: 45476

IntelliJ built-in Scene Builder is not the same as uses Gluon's Scene Builder. The former is a version embeddded in the IDE, introduced with IntelliJ IDEA 14, two years ago, but without several features or even menus or recent improvements, while the latter is the complete and updated version 8.1.1, that allows you using the latest features available and or adding custom controls, as you have already done.

If you check IntelliJ help, they also recommend using the stand-alone version (though they still point to the old 2.0 Oracle's version), they don't refer to the one they embed.

If you want to use custom controls, the only option here is the Gluon's version.

Note: I've edited the answer to clarify that IntelliJ built-in Scene Builder does use Gluon's Scene Builder, by scanning the content folder with the dist.jar. It is recommended having the latest version installed.

Upvotes: 1

Related Questions