pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Pozolotin <andrei.pozolo...@gmail.com>
Subject Re: Webkit component
Date Sat, 04 Jun 2011 22:11:31 GMT
1) re: "Desktop.getDesktop().browse()"

does not work on linux, mac:
Exception in thread "main" java.lang.UnsupportedOperationException:
Desktop API is not supported on the current platform
    at java.awt.Desktop.getDesktop(Desktop.java:126)
    at bench.browse.TestBrowse.main(TestBrowse.java:13)

use instead:

2) eclipse uses embedded external system browser in a swt frame; I
wonder if you know this exists for awt?

3) are your apps in public domain? can I take a look please? :-)



-------- Original Message  --------
Subject: Re: Webkit component
From: Edvin Syse <edvin@sysedata.no>
To: user@pivot.apache.org
Date: Sat 04 Jun 2011 08:02:29 AM CDT
> 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

View raw message