In message <[EMAIL PROTECTED]>
Francisco R. Santos <[EMAIL PROTECTED]> wrote:
> On Tue, May 20, 2008 at 1:21 AM, Tom Hughes <[EMAIL PROTECTED]> wrote:
>
>> I guess the alternative is a java native interface that invokes Gecko
>> directly or something?
>
> I already tested that way, but heavyweight components (XULRunner) don't
> combine well with Swing components (JOSM). I have a very basic prototype
> using a swing browser component (the Cobra library) inside JOSM displaying
> an openlayers frame, but didn't have time to continue it. If anyone is
> interested to continue it, I can give the sources or commit it to SVN.
I wasn't really thinking of actually using Gecko to display the
images to the user (which I assume is what you mean about the
components not playing nice together) but rather just about
creating a browser object thingy and then exacting the images
from it (either from the DOM or by invoking the page dump
technology).
Those images would then be displayed as now.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev