Hi Matt,
Is that url actually loading DLL's? seems to be the case, thats
amazing. Um, maybe I'm slightly off topic of Sgine specifically but
I'll talk about what I was trying to do.
What I've been trying to do is to be able to load webpages into Images
to display on sgine. Not needing any interactivity at this moment,
just a few URLs and a few pages as images.
Firstly I thought well I could embed a browser, so I tried SWT, but
that draws directly to the screen and I couldn't capture the bitmap
data from that due to some bug in SWT which only captures what is
actually on the screen, not what its going to display.
Then I tried Selenium to remote control Firefox, but I don't want
another firefox window open, I mean Selenium remote controls another
firefox window and I can get the image data back through selenium, but
- especially its no good if Selenium is opening lots of firefox
windows and that interrupts the application I am writing, I want just
one application window open.
Then I thought, I could create a firefox plugin which controls firefox
and get the screen data and sends it to my Sgine application. Firefox
can access the JVM and I've seen firefox plugin code which can access
the screen visual data within firefox, so it should be able to pass
the page image through.
So either, my Sgine application sits within a firefox tab and controls
other tabs through the use of the plugin I write and get image data
from firefox, or my Sgine application runs independently, controls a
separate firefox window by communicating with this plugin which I
write.
also - you said
" Swing-based rendering of HTML to
background render and then use the snapshot, or if you can get
JWebPane to
run you'd have most of what you want"
Does JWebPane come out ?.. maybe its in jdk 7, i will take a look.
I don't know how to do it using Swing, I was using SWT which writes
directly to the HWND so no good.
Phil
On Dec 30, 10:27 pm, "Hicks, Matt" <
mhi...@captiveimagination.com>
wrote: