Chris Oliver's Weblog

Saturday May 26, 2007

A Real DryerFox

When I ran across this Apollo example it occurred to me that I could pretty easily create a close Java equivalent of Apollo by combining JavaFX with WebRenderer.

WebRenderer provides a Java Swing component that encapsulates the Firefox browser. In addition, it provides an extensive Java API to interact with the browser including the full DOM. However, WebRenderer isn't free software.

Anyway, below's a screenshot of the JFX version. The dryer turns while a page is loading, but it doesn't have the sound effects (at least, not yet).

Unlike the above cited example (Apollo apparently uses WebKit) that really is a fully functioning Firefox inside the dryer, which is still interactive even while it turns.

Comments:

I wouldn't touch WebRenderer. 100% pure Swing based on Mozilla. WTF is that supposed to mean?

Posted by Asd on May 28, 2007 at 01:49 AM PDT #

hello, Chris. JavaFX is really a good direction to java in buiding web UI, but , i want to ask if there are some improves on multimedia java supportted.

Posted by jiang.lee on May 28, 2007 at 07:50 AM PDT #

Yeah Apollo is kind of funny. I was thinking of doing the same thing except wrapping an eclipse browser instance (which uses the platforms default browser) to render. 95% of the value is right there! Not sure why they think Apollo is so marketable...

Posted by Ivan on May 28, 2007 at 05:08 PM PDT #

"I wouldn't touch WebRenderer. 100% pure Swing based on Mozilla. WTF is that supposed to mean?" What it means Mr Asd (why not put your real name?), is that Mozilla performs all the layout natively, and Swing performs all of the drawing. Very simple concept for one to grasp.

Posted by Anthony Scotney on May 28, 2007 at 06:08 PM PDT #

The bad thing about Apollo is that it is not available for Linux. At least now.

Posted by Andriy on May 29, 2007 at 08:33 AM PDT #

I also have to agree. The term 100% pure Swing is misleading. Well I could let it go, but even after a lot of reading on http://www.webrenderer.com (1 month ago) it didn't tell what it is. Only after registering, downloading and actually using it, it became pretty clear what it is, so why not say it straight away? From a technical point of view it is pretty good. But the 100% Swing is incorrect.

Posted by Miss Asd on May 29, 2007 at 12:07 PM PDT #

Was this blog post a demo? If yes, where's teh webstart link? Or is it just a screenshot of something you tried?

Posted by Sumit on May 29, 2007 at 12:27 PM PDT #

Upon further reading, I see this was not a demo, as WebRenderer is not free. How about a video rather than a screenshot, then?

Posted by Sumit on May 29, 2007 at 06:12 PM PDT #

so coooooooool!

Posted by autooo on May 31, 2007 at 11:40 AM PDT #

Two things that the Apollo version has of the JFX version: 1.) Transparent windows. The Dryer can hover over the desktop, Swing needs a title bar and chrome. 2.) The browser is "in' the dryer and the door blends seamlessly over the web browser component. JFX has a little box with with a scroll bar. Visually, this one is not quite up to snuff with the Flash folks.

Posted by Ryan J. McDonough on June 04, 2007 at 10:58 AM PDT #

This is way cool. You could draw the Swing browser, and then draw the door seamlessly over the Swing component. I think this is a good proof of concept.

Posted by tool_hack on June 05, 2007 at 05:27 AM PDT #

Hi Chris ... How about converting some Silverlight demos ? (ex: from here: http://www.aisto.com/Roeder/Silverlight/ ) http://www.aisto.com/Roeder/Silverlight/Monotone/Default.aspx

Posted by El Cy on June 15, 2007 at 11:20 PM PDT #

I like javafx. But i wonder without WebRenderer, can anybody build a browser like dryerfox:) with javafx? In swing we can do that, but in jfx?

Posted by GGner on July 17, 2007 at 06:27 AM PDT #

It seems the are unpacking the core components-xx.jar to (.)web renderer. These are will the mozilla, xpcom, etc dlls. It would definately be worth while to have something similar to Web Runner available in house. I have been poking around Web Client, JRex, Mozilla Embedding APIs. It must be doable since WebRender was able to do it.

Posted by Joelle on September 05, 2007 at 05:08 PM PDT #

The bad thing about Apollo is that it is not available for Linux. At least now.

Posted by Warhammer Online Gold on March 11, 2009 at 10:46 PM PDT #

http://www.smsmatbaa.com

Posted by matbaa on June 22, 2009 at 10:07 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

Calendar

Feeds

Search

Links

Navigation

Referers