<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebRenderer Blog</title>
	<atom:link href="http://www.webrenderer.com/blogs/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.webrenderer.com/blogs</link>
	<description>WebRenderer Developer Blog</description>
	<lastBuildDate>Tue, 17 Sep 2013 04:47:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.7.28</generator>
	<item>
		<title>Flash in Java browser &#8211; Enabling Flash within WebRenderer</title>
		<link>http://www.webrenderer.com/blogs/?p=225</link>
		<comments>http://www.webrenderer.com/blogs/?p=225#respond</comments>
		<pubDate>Tue, 17 Sep 2013 01:20:28 +0000</pubDate>
		<dc:creator><![CDATA[Duncan Thomas]]></dc:creator>
				<category><![CDATA[Java™]]></category>
		<category><![CDATA[Swing Edition]]></category>
		<category><![CDATA[WebRenderer]]></category>

		<guid isPermaLink="false">http://www.webrenderer.com/blogs/?p=225</guid>
		<description><![CDATA[One of the most popular sets of search terms we see in our website statistics relate to enabling Flash in WebRenderer. When we designed WebRenderer, we built it knowing that Flash was still being used and demanded by a lot of users, so we made sure that you could enable it within WebRenderer. Importantly, we [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>One of the most popular sets of search terms we see in our website statistics relate to enabling Flash in WebRenderer. When we designed WebRenderer, we built it knowing that Flash was still being used and demanded by a lot of users, so we made sure that you could enable it within WebRenderer. Importantly, we made it easy for you to activate.<span id="more-225"></span></p>
<p>On most platforms Flash should work with WebRenderer Swing Edition if Flash has been set up to run in Firefox, as WebRenderer Swing Edition uses the plugin finder from the Mozilla engine to detect the Flash plugin. If Firefox is not setup with Flash on the target machine, the easiest way to enable Flash is to place the plugin into the WebRenderer profile directory located at:</p>
<p>&lt;user home directory&gt;/.webrendererswing6/&lt;platform&gt;/corecomponents/plugins</p>
<p>The Flash plugin file that is required depends on the platform. On Windows, the file name contains the Java architecture to be used (32 or 64-bit) and the Flash version number. Note that the file name specifies the architecture, regardless of the directory it is located in. The plugin file to use can be obtained from a system that has had Flash installed.</p>
<p><strong>On a Windows 7 machine, the plugin files (for multiple architectures) are located at:</strong><br />
C:\Windows\SysWOW64\Macromed\Flash\NPSWF32_11_8_800_168.dll<br />
C:\Windows\System32\Macromed\Flash\NPSWF64_11_8_800_168.dll</p>
<p>On Linux, the Flash plugin file is libflashplayer.so, and can be located by extracting the Flash download of the required architecture.</p>
<p><strong>Repackaging WebRenderer to include Flash:</strong><br />
1- Extract the corecomponents-swing-xxx.jar (JAR files can be extracted the same as .zip files)<br />
2- Add Flash or other plugin files to the corecomponents/plugins/ directory<br />
3- Recreate the JAR file from the corecomponents/ directory, to replace the original corecomponents-swing-xxx.jar</p>
<p>The plugin should now be deployed when WebRenderer unpacks itself.</p>
<p>Please note; if you have already run WebRenderer then the corecomponents-swing-xxx.jar will not extract and run with your plugin, and you therefore have to force WebRenderer to extract these. This can be done by altering the versionxxx (“xxx” denotes the version number) and calling the BrowserFactory setCorecomponentsExtractOn method. Alternatively the .webrendererswing6 directory can be deleted from the target system entirely. This ensures that the latest components will be extracted.</p>
<p>It should be kept in mind that although third party plugins can be used with WebRenderer we cannot make any assurances regarding the quality of third party plugins or their interoperability with WebRenderer.</p>
<p><strong>Related links:</strong><br />
Flash Player download &#8211; <a href="http://get2.adobe.com/flashplayer/otherversions/">http://get2.adobe.com/flashplayer/otherversions/</a><br />
Flash version check and test &#8211; <a href="http://www.adobe.com/software/flash/about/">http://www.adobe.com/software/flash/about/</a><br />
Creating a JAR file &#8211; <a href="http://docs.oracle.com/javase/tutorial/deployment/jar/build.html">http://docs.oracle.com/javase/tutorial/deployment/jar/build.html</a></p>
<img src="http://www.webrenderer.com/blogs/?ak_action=api_record_view&id=225&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.webrenderer.com/blogs/?feed=rss2&#038;p=225</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browser Zoom Effect using WebRenderer</title>
		<link>http://www.webrenderer.com/blogs/?p=213</link>
		<comments>http://www.webrenderer.com/blogs/?p=213#respond</comments>
		<pubDate>Tue, 07 May 2013 22:43:31 +0000</pubDate>
		<dc:creator><![CDATA[Duncan Thomas]]></dc:creator>
				<category><![CDATA[Java™]]></category>
		<category><![CDATA[Swing Edition]]></category>
		<category><![CDATA[WebRenderer]]></category>

		<guid isPermaLink="false">http://www.webrenderer.com/blogs/?p=213</guid>
		<description><![CDATA[We are often asked how our clients use WebRenderer in their projects. There are thousands of different use cases our ingenious clients have come up with that have both delighted and surprised us. WebRenderer is more than just an embeddable Java Swing browser. WebRenderer also gives you, the developer, complete access and control of the [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>We are often asked how our clients use WebRenderer in their projects. There are thousands of different use cases our ingenious clients have come up with that have both delighted and surprised us. WebRenderer is more than just an embeddable Java Swing browser. WebRenderer also gives you, the developer, complete access and control of the browser.<span id="more-213"></span></p>
<p>We thought we would put together an example that demonstrates some of the in-browser functionality. In this example we use WebRenderer Swing Edition to create a special “Zoom” effect when a click action is selected, like so:</p>
<p><img src="http://www.webrenderer.com/images/blogs/2013/zoom_browser_effect/webrenderer_maps_view.png"></p>
<p>The Zoom Browser demonstrates content being displayed on top of the Java browser in a glass pane. This content is an image taken from the browser itself and modified to give a scaled view. Click with the mouse scroll wheel to show. Scroll with the wheel, navigate to a new page or press ESC to remove the display.</p>
<p>How do we do this? When the click is made with the scroll wheel, a buffered image is created of the visible browser content using WebRenderer. The mouse cursor coordinates from the click are used to select a corresponding section of the buffered image. From here, the section is scaled (in this case double the size) and a new image is created of the section. This new image is drawn at the click position onto an overlay, which is used as a glass pane on top of the frame containing the browser.</p>
<p>As long as this sub-image exists, it will be drawn whenever the overlay is painted. Since scrolling or loading a new page would change the content, the sub-image is set to null, so that it will be removed from the overlay in these cases.</p>
<p>You can grab the source code for this <a href="http://www.webrenderer.com/images/blogs/2013/zoom_browser_effect/ZoomBrowser.zip" title="Browser Zoom Effect using WebRenderer Source Code">here..</a><br />
And for a free 30 day trial of WebRenderer Swing Edition, head over <a href="http://www.webrenderer.com/products/swing/product/" title="WebRenderer Swing Edition 30 day trial" target="_blank">here..</a></p>
<img src="http://www.webrenderer.com/blogs/?ak_action=api_record_view&id=213&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.webrenderer.com/blogs/?feed=rss2&#038;p=213</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebRenderer Swing now supporting HTML5 video</title>
		<link>http://www.webrenderer.com/blogs/?p=189</link>
		<comments>http://www.webrenderer.com/blogs/?p=189#respond</comments>
		<pubDate>Mon, 21 Jan 2013 23:08:49 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Java™]]></category>
		<category><![CDATA[Swing Edition]]></category>
		<category><![CDATA[WebRenderer]]></category>

		<guid isPermaLink="false">http://www.webrenderer.com/blogs/?p=189</guid>
		<description><![CDATA[Given that HTML5 is clearly the near-term future of web content display, we decided to implement HTML5 video support within our WebRenderer Swing Edition. This feature is implemented without any external plugins as an &#8220;built-in&#8221; feature that is entirely lightweight. HTML5 video support is now enabled in our standard download and latest update package. Here [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Given that HTML5 is clearly the near-term future of web content display, we decided to implement HTML5 video support within our WebRenderer Swing Edition. This feature is implemented without any external plugins as an &#8220;built-in&#8221; feature that is entirely lightweight. HTML5 video support is now enabled in our standard download and latest update package.<span id="more-189"></span></p>
<p>Here is a screenshot:</p>
<p><img src="http://www.webrenderer.com/images/blogs/2013/html5_video/webrenderer_swing_html5_support.png" alt="WebRenderer Swing HTML 5 Video" /></p>
<img src="http://www.webrenderer.com/blogs/?ak_action=api_record_view&id=189&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.webrenderer.com/blogs/?feed=rss2&#038;p=189</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling HTML 5 WebSockets in WebRenderer</title>
		<link>http://www.webrenderer.com/blogs/?p=194</link>
		<comments>http://www.webrenderer.com/blogs/?p=194#respond</comments>
		<pubDate>Tue, 27 Nov 2012 22:35:39 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Java™]]></category>
		<category><![CDATA[Swing Edition]]></category>
		<category><![CDATA[WebRenderer]]></category>

		<guid isPermaLink="false">http://www.webrenderer.com/blogs/?p=194</guid>
		<description><![CDATA[One undocumented feature of WebRenderer Swing Edition is the inbuilt support for HTML 5 WebSockets. WebSockets can be enabled (and disabled) &#8220;on the fly&#8221; at any time with a simple call to setPrefProperty. MozillaBrowserCanvas browser = BrowserFactory.spawnMozilla(); browser.setPrefProperty("network.websocket.override-security-block", true); browser.loadURL("http://www.websocket.org/echo.html");]]></description>
				<content:encoded><![CDATA[<p>One undocumented feature of WebRenderer Swing Edition is the inbuilt support for HTML 5 WebSockets. WebSockets can be enabled (and disabled) &#8220;on the fly&#8221; at any time with a simple call to setPrefProperty.<span id="more-194"></span></p>
<pre name="code" class="java">
MozillaBrowserCanvas browser = BrowserFactory.spawnMozilla();
browser.setPrefProperty("network.websocket.override-security-block", true);
browser.loadURL("http://www.websocket.org/echo.html");
</pre>
<p><img src="http://www.webrenderer.com/images/blogs/2012/websockets/webrenderer_websockets_enabled.gif" alt="WebRenderer supporting HTML 5 WebSockets" /></p>
<img src="http://www.webrenderer.com/blogs/?ak_action=api_record_view&id=194&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.webrenderer.com/blogs/?feed=rss2&#038;p=194</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Applet deployment techniques for platform deterministic libraries</title>
		<link>http://www.webrenderer.com/blogs/?p=179</link>
		<comments>http://www.webrenderer.com/blogs/?p=179#respond</comments>
		<pubDate>Thu, 08 Nov 2012 22:31:29 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Java™]]></category>
		<category><![CDATA[Swing Edition]]></category>
		<category><![CDATA[WebRenderer]]></category>

		<guid isPermaLink="false">http://www.webrenderer.com/blogs/?p=179</guid>
		<description><![CDATA[From time to time WebRenderer is deployed within an Applet. Applets provide a convenient mechanism for launching client applications within the browser. WebRenderer however requires different libraries based on the target platform (Windows, Linux, OS X, Solaris) and architecture (32/64 bit). Traditionally to run an Applet, you needed to specify all of the libraries that [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>From time to time WebRenderer is deployed within an Applet. Applets provide a convenient mechanism for launching client applications within the browser. WebRenderer however requires different libraries based on the target platform (Windows, Linux, OS X, Solaris) and architecture (32/64 bit). Traditionally to run an Applet, you needed to specify all of the libraries that are required, and they will <span style="text-decoration: underline;">all</span> be downloaded. If you intend for the Applet to run on multiple platforms, then <em>traditional Applet deployment</em> means that all the libraries for the supported platforms are required which results in the downloading of many unnecessary files.<span id="more-179"></span></p>
<p>All is not lost however. It is possible to launch an Applet in a way that <em>will only download the relevant files</em> for the target system. This is done through a JNLP file that is usually associated and used with Java Web Start programs. The JNLP deployment option for Applets was introduced in Java 1.6.0_10.</p>
<p>Details on using JNLP with Applets can be found at: <a href="http://www.oracle.com/technetwork/java/javase/index-142562.html">http://www.oracle.com/technetwork/java/javase/index-142562.html</a></p>
<p>The following code is an example JNLP file that can be utilized to deploy an Applet with platform targeted libraries:</p>
<pre name="code" class="XML">
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="" href="webrenderer-applet.jnlp">
    
	<security>
		<all-permissions/>
	</security>

	<!-- Resources for all platforms -->
	<resources>
	    <j2se version="1.6+"/>
	    <jar href="TestBrowser.jar"/>
	    <jar href="webrenderer-swing.jar"/>
	</resources>

	<!-- Platform specific resources -->
	<resources os="Windows" arch="amd64">
	    <jar href="webrenderer-swing-windows64.jar"/>
	    <jar href="corecomponents-swing-windows64.jar"/>
	</resources>

	<resources os="Windows" arch="x86">
	    <jar href="webrenderer-swing-windows32.jar"/>
	    <jar href="corecomponents-swing-windows32.jar"/>
	</resources>

	<resources os="Linux" arch="amd64">
	    <jar href="webrenderer-swing-linux64.jar"/>
	    <jar href="corecomponents-swing-linux64.jar"/>
	</resources>

	<resources os="Linux" arch="i386 x86">
	    <jar href="webrenderer-swing-linux32.jar"/>
	    <jar href="corecomponents-swing-linux32.jar"/>
	</resources>

	<resources os="Mac\ OS\ X" arch="x86_64">
	    <jar href="webrenderer-swing-osx64.jar"/>
	    <jar href="corecomponents-swing-osx64.jar"/>
	</resources>

	<resources os="Mac\ OS\ X" arch="i386 x86">
	    <jar href="webrenderer-swing-osx32.jar"/>
	    <jar href="corecomponents-swing-osx32.jar"/>
	</resources> 
	
	<resources os="Sun" arch="sparc">
	    <jar href="webrenderer-swing-solaris32.jar"/>
	    <jar href="corecomponents-swing-solaris32.jar"/>
	</resources>
    
    <applet-desc 
         name="TestBrowser Applet"
         main-class="TestBrowserApplet.class"
         width="900"
         height="700">
     </applet-desc>
     
</jnlp>
</pre>
<p>This JNLP file (webrenderer-applet.jnlp) specifies the WebRenderer libraries as resources under different Operating Systems and Architectures. Through this deployment specification only the files needed are downloaded to the target machine. For demonstration purposes WebRenderer is run from a simple program called TestBrowser (included with the WebRenderer download) and is specified at the end of the JNLP file above under &#8220;applet-desc&#8221;. </p>
<p>Enabling JNLP deployment for Applets requires an extra param tag to be added inside the Applet tag that refers to the JNLP file:</p>
<pre name="code" class="XML">
<code>
<param name="jnlp_href" value="webrenderer-applet.jnlp">
</code>
</pre>
<p>The architecture used on a particular platform by the Applet depends on the Java architecture that the browser is using. So on a 64-bit OS that is using 32-bit Java, the 32-bit WebRenderer libraries will be used.</p>
<p>The values for &#8220;arch&#8221; property are the same as is returned in Java by the function:</p>
<pre name="code" class="java">
System.getProperty("os.arch")
</pre>
<p>As with all Applets, each library will need to be signed. Details on signing your Applets resources can be found <a href="http://webrenderer.com/products/swing/developer/developersguide/files/appletdeploy.htm">here..</a></p>
<img src="http://www.webrenderer.com/blogs/?ak_action=api_record_view&id=179&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.webrenderer.com/blogs/?feed=rss2&#038;p=179</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mouse gestures with WebRenderer</title>
		<link>http://www.webrenderer.com/blogs/?p=155</link>
		<comments>http://www.webrenderer.com/blogs/?p=155#respond</comments>
		<pubDate>Wed, 10 Oct 2012 00:42:41 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Java™]]></category>
		<category><![CDATA[Swing Edition]]></category>
		<category><![CDATA[WebRenderer]]></category>

		<guid isPermaLink="false">http://www.webrenderer.com/blogs/?p=155</guid>
		<description><![CDATA[Mouse gestures are one of those great &#8220;add-ons&#8221; that enhance browser usability. For those that are not familiar with mouse gestures, they are a browser navigational aid that works via mouse movements. Mouse gestures have been around for some time now and we thought it would be good to show how to implement mouse gestures [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Mouse gestures are one of those great &#8220;add-ons&#8221; that enhance browser usability. For those that are not familiar with mouse gestures, they are a browser navigational aid that works via mouse movements. Mouse gestures have been around for some time now and we thought it would be good to show how to implement mouse gestures in WebRenderer.<span id="more-155"></span></p>
<p>This demonstration application not only aids in browser navigation, but also shows how to draw on top of the WebRenderer browser. To enact a mouse gesture one holds down the right mouse button and moves the mouse in a direction or pattern and the browser matches this pattern against a predefined list. After the browser interprets the mouse movement pattern it is matched to a browser action, such as &#8220;go back&#8221; or &#8220;reload page&#8221;. Mouse gestures can be visually interpreted by the user thanks to a &#8220;tail&#8221; which is drawn on the browser (web page) as the user performs the gesture.</p>
<p>The mouse gestures example including source code can be <a href="http://www.webrenderer.com/resources/blogs/2012/mouse_gestures/GestureBrowser.zip" title="WebRenderer Mouse Gestures"><strong>downloaded here..</strong></a></p>
<p>Below is a screen capture of a mouse gesture in action. The thick <strong><span style="color: #ff0000;">red line</span></strong> is the gesture being performed by the user. The gesture underway in this screen capture is telling the WebRenderer browser to &#8220;Go Back&#8221;.</p>
<p><img src="http://www.webrenderer.com/images/blogs/2012/mouse_gestures/webrenderer_mouse_gestures.jpg" alt="" /></p>
<p>The example code can be launched with RunGestureBrowser.bat (included in the download). This particular launcher is for Windows, using WebRenderer libraries, although the demo will work on any platform supported by WebRenderer. </p>
<p><em>SOURCE CODE</em><br />
There are two Java files for this demo:</p>
<p><em>TestBrowser.java</em> is the standard WebRenderer Test Browser with two extra lines of code calling the Gestures class.<br />
<em>Gestures.java</em> contains the relevant code for implementing the mouse gesture trails and actions.</p>
<p>The mouse gestures example including source code can be <a href="http://www.webrenderer.com/resources/blogs/2012/mouse_gestures/GestureBrowser.zip" title="WebRenderer Mouse Gestures"><strong>downloaded here..</strong></a></p>
<img src="http://www.webrenderer.com/blogs/?ak_action=api_record_view&id=155&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.webrenderer.com/blogs/?feed=rss2&#038;p=155</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rich Test Browser &#8211; WebRenderer features on display</title>
		<link>http://www.webrenderer.com/blogs/?p=122</link>
		<comments>http://www.webrenderer.com/blogs/?p=122#respond</comments>
		<pubDate>Tue, 11 Sep 2012 22:32:56 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Java™]]></category>
		<category><![CDATA[Swing Edition]]></category>
		<category><![CDATA[WebRenderer]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java browser]]></category>
		<category><![CDATA[java browser sdk]]></category>

		<guid isPermaLink="false">http://www.webrenderer.com/blogs/?p=122</guid>
		<description><![CDATA[WebRenderer is one of those SDK&#8217;s that can appear overwhelming on first look. For this reason we always shipped a &#8220;bare bones&#8221; Test Browser (TestBrowser.java) with the product. The Test Browser has at times baffled people due to it&#8217;s lack of features. The Test Browser was &#8220;featureless&#8221; by design as we wanted to keep the [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>WebRenderer is one of those SDK&#8217;s that can appear overwhelming on first look. For this reason we always shipped a &#8220;bare bones&#8221; Test Browser (TestBrowser.java) with the product. The Test Browser has at times baffled people due to it&#8217;s lack of features. The Test Browser was &#8220;featureless&#8221; by design as we wanted to keep the starter example code as compact as possible so that developers could embed WebRenderer in just a few lines of code. This is important as we never wanted the learning curve and integration to be an overwhelming process. <span id="more-122"></span></p>
<p>With that being said, for some time now our WebRenderer developer team has been utilizing a &#8220;Test Browser&#8221; that is rather substantial (130 classes) when compared to our standard Test Browser (one class). This test browser has been dubbed &#8220;Rich Test Browser&#8221; by the developer team. Given the amount of WebRenderer features demonstrated by the Rich Test Browser we thought it appropriate to publish the browser for all to use. The Rich Test Browser can be <a href="http://www.webrenderer.com/resources/blogs/2012/rtb/RichTestBrowser.zip">downloaded</a> and includes both binary and source code.</p>
<p><HTML><IMG SRC="http://www.webrenderer.com/images/blogs/2012/rtb/html5_java_browser.png"></HTML></p>
<p><strong>Some of the WebRenderer Rich Test Browser functionality includes:</strong></p>
<p><em>File menu:</em><br />
 Save As, Save to BufferedImage<br />
 Print Preview, Print Preview in New Window, Print</p>
<p><em>View menu:</em><br />
 Page zoom functionality, text sizing, text selection<br />
 Find functions including Find and highlight, Find next, Find previous</p>
<p><em>Go menu:</em><br />
 Navigation functions such as &#8220;reload&#8221; and &#8220;stop&#8221;<br />
 Load HTML from clipboard<br />
 Browser History functions</p>
<p><em>Extra menu:</em><br />
 Popup window handlers, scrollbar and scroll position manipulation<br />
 HTML Editing mode and insert HTML into page<br />
 Javascript execution, sending key presses<br />
 Custom protocols, image and plugin handling </p>
<p><em>DOM menu:</em><br />
 Functions to call many methods in W3C Document, Element and Range</p>
<p>Feel free to <a href="http://www.webrenderer.com/resources/blogs/2012/rtb/RichTestBrowser.zip"><strong>download a copy</strong></a> of the Rich Test Browser (including source code). </p>
<img src="http://www.webrenderer.com/blogs/?ak_action=api_record_view&id=122&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.webrenderer.com/blogs/?feed=rss2&#038;p=122</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebRenderer Swing Edition 6 Released!</title>
		<link>http://www.webrenderer.com/blogs/?p=116</link>
		<comments>http://www.webrenderer.com/blogs/?p=116#respond</comments>
		<pubDate>Mon, 21 May 2012 22:46:43 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Java™]]></category>
		<category><![CDATA[Swing Edition]]></category>
		<category><![CDATA[WebRenderer]]></category>
		<category><![CDATA[java browser sdk]]></category>
		<category><![CDATA[webrenderer]]></category>

		<guid isPermaLink="false">http://www.webrenderer.com/blogs/?p=116</guid>
		<description><![CDATA[JadeLiquid™ is pleased to announce the long awaited release of the WebRenderer™ Swing Edition 6.0 supporting 64-bit systems. WebRenderer 6.0 includes support for both 32 and 64-bit systems on Windows™, OS X™ and Linux. SPARC Solaris™ is also a supported platform. The WebRenderer Swing Edition 6.0 release is the most advanced version of WebRenderer ever [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>JadeLiquid™ is pleased to announce the long awaited release of the <a href="http://www.webrenderer.com/?wrnews">WebRenderer™ Swing Edition 6.0</a> supporting 64-bit systems. WebRenderer 6.0 includes support for both 32 and 64-bit systems on Windows™, OS X™ and Linux. SPARC Solaris™ is also a supported platform. The WebRenderer Swing Edition 6.0 release is the most advanced version of WebRenderer ever released.<span id="more-116"></span></p>
<p>WebRenderer Swing Edition renders in lightweight Swing and is the only commercial strength Java™ browser SDK with this capability. New features found in the WebRenderer 6.0 include an updated Firefox™ engine, HTML5, SVG, Canvas, MathML and vastly improved font rendering. WebRenderer Swing Edition 6.0 also features much improved overall performance in the areas of JavaScript and rendering speed. The standard full-featured WebRenderer API is implemented and the W3C DOM and plugins such as Flash and PDFs are supported.</p>
<p>One major enhancement built into WebRenderer Swing Edition 6.0 is support for older operating systems and Java versions. WebRenderer will not only run on the newest Linux and OS X systems but also on older Linux systems and right back to Mac OS X 10.4. Java backwards compatibility is just as impressive with WebRenderer supporting right back to 1.4.2! This added backwards compatibility is achieved by removing front-end dependencies such as GTK on Linux and Solaris systems. This means that WebRenderer will run unmodified on older Linux platforms. Non-Linux platforms also benefit from the removal of external dependencies as evidenced by platform support right back to Mac OS X 10.4.</p>
<p>The release of the <a href="http://www.webrenderer.com/?wrnews">WebRenderer Swing Edition 6.0</a> demonstrates JadeLiquid’s ongoing commitment to provide the best solution for displaying web content within Java applications. Since the first release of WebRenderer in early 2003, WebRenderer has continued to break new ground in the Java browser SDK market. With millions of deployments world wide WebRenderer provides commercially robust web content display in Java applications. WebRenderer has the widest platform support of any commercial Java browser SDK including Windows, OS X, Linux, Solaris and AIX.</p>
<p><strong>Features summarized:</strong></p>
<p>&#8211; Lightweight Swing component<br />
&#8211; HTML 5, JavaScript, SVG, Canvas, CSS, Ajax and plugin support<br />
&#8211; 64-bit and 32-bit support on Windows, OS X and Linux<br />
&#8211; API supporting complete Event model (network, mouse, key, browser, prompts)<br />
&#8211; W3C DOM support<br />
&#8211; Plugin support including Flash and PDF plugins<br />
&#8211; Print and Print Preview support<br />
&#8211; Embeddable in just 3 lines of code<br />
&#8211; Completely standalone and self-contained &#8211; no external dependencies!<br />
&#8211; Supports Java 1.4.2 to the latest (7.0)<br />
&#8211; Deployment through standard JAR files including WebStart</p>
<p>To download a Free 30 day trial please visit <a href="http://www.webrenderer.com/?wrnews">www.webrenderer.com</a></p>
<img src="http://www.webrenderer.com/blogs/?ak_action=api_record_view&id=116&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.webrenderer.com/blogs/?feed=rss2&#038;p=116</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploying WebRenderer with Java Web Start on 64bit systems</title>
		<link>http://www.webrenderer.com/blogs/?p=96</link>
		<comments>http://www.webrenderer.com/blogs/?p=96#respond</comments>
		<pubDate>Wed, 02 Nov 2011 01:01:20 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Java™]]></category>
		<category><![CDATA[Swing Edition]]></category>
		<category><![CDATA[WebRenderer]]></category>

		<guid isPermaLink="false">http://www.webrenderer.com/blogs/?p=96</guid>
		<description><![CDATA[WebRenderer has long supported deployment via Java™ Web Start. With the upcoming GA release of our WebRenderer Swing Edition 6.0 (which supports 64bit systems) we have had some requests for documentation on how to deploy WebRenderer via Web Start on both 32 and 64bit systems. This blog hopefully offers a helping hand to those that [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>WebRenderer has long supported deployment via Java™ Web Start. With the upcoming GA release of our WebRenderer Swing Edition 6.0 (which supports 64bit systems) we have had some requests for documentation on how to deploy WebRenderer via Web Start on both 32 and 64bit systems. This blog hopefully offers a helping hand to those that wish to deploy across multiple operating systems with differing 32/64bit architectures.<span id="more-96"></span> </p>
<p><div class="note"><div class="noteclassic">The focus here is on deployment attributes for 32 and 64bit systems. It does not cover the end-to-end Web Start deployment process, such as signing JARs and security. Please view our <a title="Java Web Start documentation" href="http://www.webrenderer.com/products/swing/developer/developersguide/files/webstartdeploy.htm">complete Java Web Start documentation</a> for this information.</div></div></p>
<p>Java Web Start provides for an efficient deployment mechanism for Java applications. Web Start is particularly suited to deploying applications that have multiple platform optimized libraries. WebRenderer is one of these such libraries. WebRenderer Swing Edition 6.0 is deployed targeting a single platform with 3 JAR files. The 3 core JARs are the <em>webrenderer-swing.jar, webrenderer-swing-xxx.jar and the corecomponents-swing-xxx.jar. </em>Note the &#8220;xxx&#8221; denotes the platform and the processor architecture. What makes Web Start powerful is that one can target the necessary libraries to the individual platform. This means that instead of deploying all the WebRenderer platform libraries (some of which would not be needed) one can target the resources to the platform, saving bandwidth and making the deployment process seamless.</p>
<p><strong>The Java Web Start Resource tag</strong></p>
<p>The &#8220;Resource&#8221; tag in the Java Web Start descriptor has two key elements to allow efficient Java application deployment. One important attribute of the resource tag is the <strong>&#8220;os&#8221; attribute</strong>. This attribute allows you to specify specific platforms for the deployment of your application. Options in the &#8220;os&#8221; attribute can be &#8220;Windows&#8221;, &#8220;Linux&#8221;, &#8220;Mac OS X&#8221; etc.</p>
<p>The next relevant resource attribute is the <strong>&#8220;arch&#8221; attribute</strong>. This attribute allows for the specification of the processor architecture. Relevant values for the &#8220;arch&#8221; attribute include &#8220;x86&#8221; and &#8220;amd64&#8221; (even for Intel 64bit). Additional &#8220;arch&#8221; values are seen below in the Web Start JNLP example code.</p>
<p>The following is an example of a Web Start JNLP file (&#8220;TestBrowserAllPlatforms.jnlp&#8221;):</p>
<pre name="code" class="xml">
&lt;jnlp
spec="1.0+"
codebase="{Set the base URL here where all jars stored. For example http://www.webrenderer.com/webstart/}"
href="TestBrowserAllPlatforms.jnlp"&gt;</span>

&lt;security&gt;
&lt;all-permissions/&gt;
&lt;/security&gt;
&lt;resources&gt;
&lt;j2se version="1.4+"/&gt;
&lt;jar href="TestBrowser.jar"/&gt;
&lt;jar href="webrenderer-swing.jar"/&gt;
&lt;/resources&gt;

&lt;resources os="Windows" arch="amd64"&gt;
&lt;jar href="webrenderer-swing-windows64.jar"/&gt;
&lt;jar href="corecomponents-swing-windows64.jar"/&gt;
&lt;/resources&gt;

&lt;resources os="Windows" arch="x86"&gt;
&lt;jar href="webrenderer-swing-windows32.jar"/&gt;
&lt;jar href="corecomponents-swing-windows32.jar"/&gt;
&lt;/resources&gt;

&lt;resources os="Linux" arch="amd64"&gt;
&lt;jar href="webrenderer-swing-linux64.jar"/&gt;
&lt;jar href="corecomponents-swing-linux64.jar"/&gt;
&lt;/resources&gt;

&lt;resources os="Linux" arch="i386 x86"&gt;
&lt;jar href="webrenderer-swing-linux32.jar"/&gt;
&lt;jar href="corecomponents-swing-linux32.jar"/&gt;
&lt;/resources&gt;

&lt;resources os="Mac\ OS\ X" arch="x86_64"&gt;
&lt;jar href="webrenderer-swing-osx64.jar"/&gt;
&lt;jar href="corecomponents-swing-osx64.jar"/&gt;
&lt;/resources&gt;

&lt;resources os="Mac\ OS\ X" arch="i386 x86"&gt;
&lt;jar href="webrenderer-swing-osx32.jar"/&gt;
&lt;jar href="corecomponents-swing-osx32.jar"/&gt;
&lt;/resources&gt;

&lt;application-desc main-class="TestBrowser"/&gt;
&lt;/jnlp&gt;
</pre>
<p>Our complete documentation for Web Start deployment which covers start-to-finish preparation and deployment can be found <a title="Java Web Start documentation" href="http://www.webrenderer.com/products/swing/developer/developersguide/files/webstartdeploy.htm"><strong>here..</strong></a></p>
<img src="http://www.webrenderer.com/blogs/?ak_action=api_record_view&id=96&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.webrenderer.com/blogs/?feed=rss2&#038;p=96</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploying WebRenderer Server Edition in Tomcat</title>
		<link>http://www.webrenderer.com/blogs/?p=81</link>
		<comments>http://www.webrenderer.com/blogs/?p=81#respond</comments>
		<pubDate>Wed, 26 Oct 2011 03:14:23 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Java™]]></category>
		<category><![CDATA[Server Edition]]></category>
		<category><![CDATA[WebRenderer]]></category>

		<guid isPermaLink="false">http://www.webrenderer.com/blogs/?p=81</guid>
		<description><![CDATA[Deploying WebRenderer Server Edition in a Tomcat container is fairly straight forward when one understands the basic deployment principles. If you deploy WebRenderer Server Edition into your WEB-INF/lib or any other local project directory you will run into issues when trying to redeploy. When you try to redeploy your application Tomcat tries to reload the [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Deploying WebRenderer Server Edition in a Tomcat container is fairly straight forward when one understands the basic deployment principles. If you deploy WebRenderer Server Edition into your WEB-INF/lib or any other local project directory you will run into issues when trying to redeploy. When you try to redeploy your application Tomcat tries to reload the WebRenderer libraries (which are already loaded in memory) and is refused. You will then be confronted with a message about an UnsatisifiedLinkError in setMozPath. Even though at this point it may look like the end, Tomcat  comes to our rescue with some specific instructions<span id="more-81"></span> (<a href="http://wiki.apache.org/tomcat/HowTo#I.27m_encountering_classloader_problems_when_using_JNI_under_Tomcat" target="_blank">found in the Tomcat docs</a>) on exactly how to deploy components like WebRenderer.  The following are the basic steps that will get you up and running with Tomcat and allow as many WebRenderer Server Edition redeploys as your heart desires.</p>
<h3>Steps to deploy WebRenderer Server Edition in Tomcat</h3>
<p>1) Place all the WebRenderer libraries (webrendererse.jar, webrendererse-xxx.jar, corecomponents-xxx.jar) in your CATALINA_HOME/lib directory. Whatever you do, <strong>avoid deploying</strong> any WebRenderer libraries to your WEB-INF/lib or WEB-INF/classes directory.</p>
<p><strong>The next two steps are Optional</strong></p>
<p>2) You can control where WebRenderer extracts its components to using the BrowserFactory.setXXX methods. This is particularly helpful if you want to control the extraction and data storage of WebRenderer. If you do not set these methods WebRenderer will extract out to &lt;USER_HOME&gt;/.webrendererse directory. The following methods allow you to specify the home directories and library locations for WebRenderer:</p>
<p>BrowserFactory.setHomeDirectory(path_to_webrenderer)<br />
BrowserFactory.setLibraryPath(path_to_webrenderer)<br />
BrowserFactory.setMozillaPath(path_to_webrenderer)</p>
<p>3) Make note that when you are finished with the browser that you destroy it by calling browser.destroy(). This ensures that you do not have any memory issues caused by browsers hanging around when not in use.</p>
<p>That is really all there is to it. It is fairly straight forward and hassle free.</p>
<p><div class="note"><div class="notewarning">NOTE: If you are using Netbeans you need to ensure that you right click on &#8220;Libraries&#8221; in your &#8220;Projects&#8221; view and uncheck the &#8220;Package&#8221; checkbox next to the WebRenderer Server Edition JAR. If you do not uncheck this, Netbeans will automatically deploy the WebRenderer JAR file out to your &lt;PROJECT&gt;/build/web/WEB-INF/lib directory, and then you will have issues when you try to redeploy your application even after a trivial change.</div></div></p>
<img src="http://www.webrenderer.com/blogs/?ak_action=api_record_view&id=81&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.webrenderer.com/blogs/?feed=rss2&#038;p=81</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
