1

I have a Java Fx 2.2 Application. Can I use this as an eclipse plugin?

I know there is SWT - FX interoperability.

Can I create a simple SWT plugin and integrate my FX application inside it so that I can create my application in FX which can also be used as an eclipse plugin.

1 Answer 1

0

There are at least two ways to integrate JavaFX in Eclipse Plugin-Development and both are now part of e(fx)clipse.

With the SWT on JavaFX project, you can develop SWT-based plugins and have them rendered in JavaFX.

With the "traditional" e(fx)clipse project, you exchange the Eclipse Platform renderer for a JavaFX renderer and develop a JavaFX application that runs for example inside Eclipse RCP.

It depends a bit on what you want to do. If you want to deliver a plugin that runs in an SWT environment, you'd probably use SWT on JavaFX and use FXCanvas to render your application.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.