<?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>render fast &#187; Java</title>
	<atom:link href="http://renderfast.com/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://renderfast.com</link>
	<description>A blog about developing software by trial and error by Doug Letterman</description>
	<lastBuildDate>Mon, 24 Jan 2011 17:24:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>NWSClient 1.2 Released</title>
		<link>http://renderfast.com/2010/03/30/nwsclient-1-2-released/</link>
		<comments>http://renderfast.com/2010/03/30/nwsclient-1-2-released/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 06:53:05 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[NWSClient]]></category>

		<guid isPermaLink="false">http://renderfast.com/?p=167</guid>
		<description><![CDATA[NWSClient version 1.2 is now available for download. This version fixes a number of bugs, adds detailed hourly forecast data, and increases the size of the text in the app icon so that the temperature is more readable. Download version 1.20 for the Blackberry Curve or similar. Download version 1.21 for the Blackberry Storm.]]></description>
			<content:encoded><![CDATA[<p><img src="http://renderfast.com/wp-content/uploads/2009/03/nwsclient_web_12.png" alt="NWSClient version 1.2" title="NWSClient version 1.2" width="128" height="128" class="alignleft size-full wp-image-171" /><a href="/nwsclient/">NWSClient</a> version 1.2 is now available for download. This version fixes a number of bugs, adds detailed hourly forecast data, and increases the size of the text in the app icon so that the temperature is more readable.</p>
<div style="padding-left: 128px">
<ul>
<li><a href="http://blackberry.renderfast.com/downloads/device/nwsclient/1.20/ota/nwsclient.jad">Download version 1.20 for the Blackberry Curve or similar.</a></li>
<li><a href="http://blackberry.renderfast.com/downloads/device/nwsclient/1.21/ota/nwsclient.jad">Download version 1.21 for the Blackberry Storm.</a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://renderfast.com/2010/03/30/nwsclient-1-2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NWSClient Updated</title>
		<link>http://renderfast.com/2009/09/26/nwsclient-updated/</link>
		<comments>http://renderfast.com/2009/09/26/nwsclient-updated/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 09:14:59 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[NWSClient]]></category>

		<guid isPermaLink="false">http://renderfast.com/?p=145</guid>
		<description><![CDATA[I&#8217;ve released a new version of NWSClient for Blackberry. New features include a link to a Google Map (if Google Maps for Blackberry is installed), and more customization options, including the option to have the current conditions and temperature displayed as the application&#8217;s name on the home screen. The Google Map link is helpful to [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="lightbox" href="http://renderfast.com/wp-content/uploads/2009/09/v118.png"><img src="http://renderfast.com/wp-content/uploads/2009/09/v118-300x223.png" alt="v118" title="v118" width="300" height="223" class="alignright size-medium wp-image-151" /></a>I&#8217;ve released a new version of NWSClient for Blackberry. New features include a link to a Google Map (if Google Maps for Blackberry is installed), and more customization options, including the option to have the current conditions and temperature displayed as the application&#8217;s name on the home screen. </p>
<p>The Google Map link is helpful to see where your location is relative to the current NWS weather station.</p>
<ul>
<li><a href="http://blackberry.renderfast.com/downloads/device/nwsclient/latest/ota/nwsclient.jad">Download version 1.18 for the Blackberry Curve or similar</a>.</li>
<li><a href="http://blackberry.renderfast.com/downloads/device/nwsclient/latest-storm/ota/nwsclient.jad">Download version 1.19 for Blackberry Storm</a>.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://renderfast.com/2009/09/26/nwsclient-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NWSClient 1.1 Released</title>
		<link>http://renderfast.com/2009/05/30/nwsclient-11-released/</link>
		<comments>http://renderfast.com/2009/05/30/nwsclient-11-released/#comments</comments>
		<pubDate>Sun, 31 May 2009 00:17:29 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[Downloads]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[NWSClient]]></category>

		<guid isPermaLink="false">http://renderfast.com/?p=105</guid>
		<description><![CDATA[UPDATE 6/1/2009: The microscopic app icon problem has been resolved. The corrected version for Storm is v1.13. UPDATE 6/1/2009: There&#8217;s a problem with the app icon appearing too small on Blackberry Storms. Version 1.1 of my free Blackberry weather application includes the following upgrades and enhancements: Current conditions are displayed as the application&#8217;s rollover icon [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE</strong> 6/1/2009: The microscopic app icon problem has been resolved. The corrected version for Storm is v<a href="http://bit.ly/nwsclient113">1.13</a>.</p>
<p><strong>UPDATE</strong> 6/1/2009: <span style="text-decoration: line-through;">There&#8217;s a problem with the app icon appearing too small on Blackberry Storms.</span></p>
<p>Version 1.1 of my <a title="NWSClient" href="/nwsclient/">free Blackberry weather application</a> includes the following upgrades and enhancements:</p>
<ul>
<li><img class="alignright size-full wp-image-113" title="rollover" src="http://renderfast.com/wp-content/uploads/2009/05/rollover.gif" alt="rollover" width="77" height="64" />Current conditions are displayed as the application&#8217;s rollover icon</li>
<li>Links to nearest <a title="NWS Radar" href="http://radar.weather.gov/index_lite.htm">NWS radar</a> and <a title="NWS Area Forecast Discussions" href="http://www.weather.gov/view/validProds.php?prod=AFD">forecast discussions</a></li>
<li>Links to NWS alert and warning bulletins</li>
<li>The application no longer blocks when fetching weather</li>
<li>Added a user preference for the minimum font size</li>
<li>The location database is stored more efficiently, resulting in a smaller overall application size</li>
</ul>
<p>This update is available for over-the-air install <a title="NWSClient version 1.1 ota install" href="http://blackberry.renderfast.com/downloads/device/nwsclient/1.1/ota/nwsclient.jad">here</a>.<br />
A build for the Blackberry Storm is available <a title="NWSClient version 1.13 (Storm) ota install" href="http://bit.ly/nwsclient113">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://renderfast.com/2009/05/30/nwsclient-11-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing NWSClient</title>
		<link>http://renderfast.com/2009/03/02/announcing-nwsclient/</link>
		<comments>http://renderfast.com/2009/03/02/announcing-nwsclient/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 18:17:28 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[NWSClient]]></category>
		<category><![CDATA[weather]]></category>

		<guid isPermaLink="false">http://renderfast.com/?p=76</guid>
		<description><![CDATA[A Free Blackberry weather app. Back in August I upgraded my phone to a Blackberry 8330 &#8220;Curve&#8221; from Verizon. I was disappointed with many of the free weather applications on offer so I decided to write my own that uses data provided by the National Weather Service and Google to display weather information for the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.renderfast.com/nwsclient/" ><img class="alignleft size-full wp-image-58" title="NWSClient" src="http://renderfast.com/wp-content/uploads/2009/03/nwsclient10.png" alt="NWSClient" width="128" height="128" /></a><br />
<a href="http://www.renderfast.com/nwsclient/"><em>A Free Blackberry weather app</em></a>.</p>
<p>Back in August I upgraded my phone to a Blackberry 8330 &#8220;Curve&#8221; from Verizon. I was disappointed with many of the free weather applications on offer so I decided to write my own that uses data provided by the National Weather Service and Google to display weather information for the United States and most world cities.</p>
<p>The result of this work is <a href="http://www.renderfast.com/nwsclient/">NWSClient</a>, a Java app that displays current conditions, forecast weather, and alerts and warnings. I am distributing this application for free under the terms of the <a href="http://www.gnu.org/licenses/gpl.html">Gnu General Public License</a>.</p>
<p>Please <a href="http://blackberry.renderfast.com/downloads/device/nwsclient/1.0/ota/nwsclient.jad">download NWSClient</a> and try it out. Documentation and features list are <a href="http://www.renderfast.com/nwsclient/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://renderfast.com/2009/03/02/announcing-nwsclient/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java for Mac Update 2 leaves some Java Apps broken</title>
		<link>http://renderfast.com/2008/09/26/java-for-mac-update-2-leaves-some-java-apps-broken/</link>
		<comments>http://renderfast.com/2008/09/26/java-for-mac-update-2-leaves-some-java-apps-broken/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 16:59:08 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[jEdit]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://renderfast.com/?p=36</guid>
		<description><![CDATA[This post has been updated, see below This morning I applied Apple&#8217;s Java for Mac Update 2 and discovered that it broke my favorite editor and most-used application, jEdit. Other people seem to be having the same problem but there were few solutions. I found one that involves recreating the Application Bundle using the Java [...]]]></description>
			<content:encoded><![CDATA[<p><em>This post has been updated, see below</em><br />
This morning I applied Apple&#8217;s <a title="Java for Mac Update 2" href="http://support.apple.com/kb/HT2733">Java for Mac Update 2</a> and discovered that it broke my favorite editor and most-used application, <a title="jEdit" href="http://www.jedit.org/">jEdit</a>. <a href="http://discussions.apple.com/thread.jspa?messageID=8173506">Other people</a> seem to be having the same problem but there were few solutions. I found one that involves recreating the Application Bundle using the Java Bundler that ships with the Developer Tools. Here&#8217;s how it works:</p>
<ol>
<li>Backup your original jEdit.app application bundle (I called mine jEdit.orig.app).</li>
<li>Open up jEdit.app (right click and do &#8220;Show Package Contents&#8221;). Navigate to &#8220;Contents&#8221; &gt; &#8220;Resources&#8221; &gt; &#8220;Java&#8221; and copy the jedit.jar file to your Desktop.</li>
<li>Open up /Developer/Applications/Utilities/Jar Bundler.app.</li>
<li>Next to the text field that says &#8220;Main Class&#8221; click the &#8220;Choose&#8230;&#8221; button and navigate to the jedit.jar copy that you just made on the Desktop.<br />
<a href="http://renderfast.com/wp-content/uploads/2008/09/jar_bundler.png" rel="lightbox"><img class="alignnone size-medium wp-image-38" title="Jar Bundler" src="http://renderfast.com/wp-content/uploads/2008/09/jar_bundler-300x276.png" alt="" width="300" height="276" /></a></li>
<li>Make sure &#8220;Use Macintosh Menu Bar&#8221; is checked and press the &#8220;Create Application Button&#8221; at the bottom. Call the application &#8220;myJedit&#8221; or something else that distinguishes it from the original.</li>
<li>Open up your new jEdit application bundle (&#8220;myJedit.app&#8221;) using &#8220;Show Package Contents&#8221; and navigate to Contents/Mac OS. Inside here you should see a file called &#8220;JavaApplicationStub.&#8221;</li>
<li>Copy &#8220;JavaApplicationStub&#8221; from your new jEdit bundle (&#8220;myJedit&#8221;) to the Contents/Mac OS directory in your original jEdit.app bundle.</li>
<li>Inside the original Contents/Mac OS directory you should see an alias called &#8220;jedit.&#8221; Rename this &#8220;jedit.bad&#8221; or something similar.</li>
<li>Go one level up in the jEdit.app bundle to &#8220;Contents&#8221; and open up the &#8220;Info.plist&#8221; file. This open up using the Property List Editor (it lives in /Developer/Applications/Utilities).<br />
<a href="http://renderfast.com/wp-content/uploads/2008/09/plist_editor.png" rel="lighbox"><img class="alignnone size-medium wp-image-39" title="plist_editor" src="http://renderfast.com/wp-content/uploads/2008/09/plist_editor-300x159.png" alt="" width="300" height="159" /></a></li>
<li>Expand the tree and change the &#8216;CFBundleExecutable&#8217; string from &#8216;jedit&#8217; to &#8216;JavaApplicationLauncher&#8217;.</li>
</ol>
<p>That&#8217;s it! Close up the jEdit.app bundle and double click on it. jEdit should start normally as it used to, complete with the Mac Menu bar. Additionally, if you&#8217;ve installed the jedit shell script for launching jEdit from the terminal that should still work as well.</p>
<p>It&#8217;s not the prettiest solution but it keeps me going for now until a better fix is released.</p>
<p><strong>UPDATE:</strong><br />
Someone in the Apple forums pointed out that simply copying the destination of the jEdit.app/Contents/MacOS/jedit symlink, which points to</p>
<pre>/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/JavaApplicationStub</pre>
<p>back into <tt>jEdit.app/Contents/MacOS/jedit</tt> (replacing the symlink with a copy) also makes the jEdit application bundle work again. This method has considerably fewer steps than mine.</p>
<p>Apparently this file is functionally the same as the one generated by Jar builder. It seems Java developers went for the <a title="JavaApplicationStub" href="http://www.snailshell.de/blog/archives/2006/01/entry_37.html">symlink method</a> <em>specifically to avoid problems</em> created whenever Apple would go and update Java. With this update the symlink doesn&#8217;t seem to work again.</p>
]]></content:encoded>
			<wfw:commentRss>http://renderfast.com/2008/09/26/java-for-mac-update-2-leaves-some-java-apps-broken/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

