Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Integrating a JavaFX application

    Hello,

    Is there a way to integrate a JavaFX application into SmartGWT? Oracle suggests to use Deployment Toolkit library that should be called from page onload or similar. Is there a "SmartGWT way" to do it?

    #2
    Just for completeness - JavaFX has enjoyed very very little adoption, and browser plugins in general tend to be a huge source of bugs and security issues. If you have an alternative - HTML5 or even something like NativeClient - it might be better to go with that than to rely on something built in JavaFX.

    Having said that - we have not used JavaFX's "Deployment Toolkit", but at a glance you would use the 'placeholder' approach mentioned here in conjunction with the technique for generating a DOM element with a specific ID covered under DOM Integration.

    See also canvas.useDragMask and canvas.dragMaskType - you will probably need to set these to prevent burn through or lost drags if the mouse moves over the JavaFX area.

    Comment

    Working...
    X