I don't think such a component exists. Maybe someone would integrate against Prism/JavaFX 2.0 some day, so you can reuse the WebPane from JavaFX, but in the meantime you'd have to open an external browser window. That's fairly easy to do via Desktop.getDesktop().browse() though. I use it in my Pivot app to allow editing with TinyMCE.

I post back to an integrated http-server in my Pivot-app, works like a charm. Another thing is, most webbrowser components for Java, even the onces that use JNI, are actually quite slow, especially when it comes to JavaScript execution. You are better off with the external browser Window, trust me :)

-- Edvin

Den 04.06.2011 14:39, skrev Wim Goeman:
Hi all,

I made this small app which allows to installs new versions of a J2EE
app, basically an "updater". What I would like to do next is integrate
Jetty into it, so that the updater becomes the all-in-one app.

I am pretty confident about the Jetty part, but I was wondering if the
possibility exists to show a webkit based browser frame in my pivot app.
If that is possible, I could have 1 tool to update the program, manage
the server instance and actually use it.

Any hints on how I could accomplish the webkit thing? Doesnt have to be
webkit, as long as it is an HTML5 + CSS + JavaScript thing I would be happy.

Thanks,
Wim

Reply via email to