I use WebRenderer to export HTML5 pages to images on the server. The problem is that the only release that supports HTML5 is the swing version. However, I can use jar files from the swing version and create a new IMozillaBrowserCanvas object, rather than link it to a JFrame / JPanel and convert the html5 page without a GUI.
Are there any differences between swing and server when using IMozillaBrowserCanvas ? The only information I could find was:
WebRenderer Server Edition 4.0 scales better on the server and without any other Java browser configurations because rendering is not performed in the Swing Thread. Saving rendering from Swing Thread, and multi-threading rendering leads to improved scalability. [ Source ]
Also, what happens at the back when the spawnMozilla() method is called from the BrowserFactory class? As far as I know, this is just a clean java browser and does not work on the xserver server in the background.
source share