<?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>StupidZombie &#187; java</title>
	<atom:link href="http://stupidzombie.com/blog/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://stupidzombie.com/blog</link>
	<description>Updates and news of Blockhead</description>
	<lastBuildDate>Mon, 09 Jan 2012 02:42:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>StupidZombie wants to send you a Tweet</title>
		<link>http://stupidzombie.com/blog/2009/07/04/stupidzombie-wants-to-send-you-a-tweet/</link>
		<comments>http://stupidzombie.com/blog/2009/07/04/stupidzombie-wants-to-send-you-a-tweet/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 12:20:07 +0000</pubDate>
		<dc:creator>josevnz</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[updates]]></category>
		<category><![CDATA[zombie]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://stupidzombie.com/blog/?p=115</guid>
		<description><![CDATA[Yep, the idea is that when you update your blog that becomes a tweet. No there is always the issue of build vs. buy and on this case I think I rather build functionality on top of existing libraries for StupidZombie. Not very concerned about speed and rather keep the project moving forward. So which [...]]]></description>
			<content:encoded><![CDATA[<p>Yep, the idea is that when you update your blog that becomes a tweet. No there is always the issue of build vs. buy and on this case I think I rather build functionality on top of existing libraries for StupidZombie. Not very concerned about speed and rather keep the project moving forward.</p>
<p>So which is the best Twitter library for Java out there? Looks like <a href="http://yusuke.homeip.net/twitter4j/en/index.html">Twitter4J.</a> I&#8217;ll give it a try, but that also means I may have to add Cryptography to StupidZombie as the API requires the user / twitter password in order to send tweets. Or maybe not, <a href="http://apiwiki.twitter.com/Authentication">as the API seems to support OAuth</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stupidzombie.com/blog/2009/07/04/stupidzombie-wants-to-send-you-a-tweet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Finished adding online manual browsing using default browser</title>
		<link>http://stupidzombie.com/blog/2009/07/04/finished-adding-online-manual-browsing-using-default-browser/</link>
		<comments>http://stupidzombie.com/blog/2009/07/04/finished-adding-online-manual-browsing-using-default-browser/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 11:00:56 +0000</pubDate>
		<dc:creator>josevnz</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[updates]]></category>
		<category><![CDATA[zombie]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[java native desktop]]></category>
		<category><![CDATA[stupidzombie]]></category>
		<category><![CDATA[swing]]></category>

		<guid isPermaLink="false">http://stupidzombie.com/blog/?p=113</guid>
		<description><![CDATA[Using Java Desktop object I enabled this functionality for the 1.1 release. Now is time to code other features.]]></description>
			<content:encoded><![CDATA[<p>Using Java Desktop object <a href="http://kenai.com/jira/browse/STUPIDZOMBIE-10">I enabled this functionality for the 1.1 release</a>. Now is time to code other features.</p>
]]></content:encoded>
			<wfw:commentRss>http://stupidzombie.com/blog/2009/07/04/finished-adding-online-manual-browsing-using-default-browser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>More functionality: Export ping results and filtering</title>
		<link>http://stupidzombie.com/blog/2009/04/27/more-functionality-export-ping-results-and-filtering/</link>
		<comments>http://stupidzombie.com/blog/2009/04/27/more-functionality-export-ping-results-and-filtering/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 02:03:28 +0000</pubDate>
		<dc:creator>josevnz</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[zombie]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[jtable]]></category>
		<category><![CDATA[regexp]]></category>
		<category><![CDATA[synth]]></category>

		<guid isPermaLink="false">http://stupidzombie.com/blog/?p=37</guid>
		<description><![CDATA[Yep, now you can export the ping results as a CVS file for later analisys or just for fun.  Also you can filter the contents of the result table using regular expressions as you type Now is time for the next step which is to add some sexyness to the GUI using Synth.]]></description>
			<content:encoded><![CDATA[<p>Yep, now you can export the ping results as a CVS file for later analisys or just for fun.  Also you can filter the contents of the result table using regular expressions as you type <img src='http://stupidzombie.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Now is time for the next step which is to add some sexyness to the GUI using<a href="http://java.sun.com/docs/books/tutorial/uiswing/lookandfeel/synth.html" target="_blank"> Synth</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stupidzombie.com/blog/2009/04/27/more-functionality-export-ping-results-and-filtering/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Refactored GUI: Not Using JList anymore, welcome JTable. Also plans for the future</title>
		<link>http://stupidzombie.com/blog/2009/04/25/refactored-gui-not-using-jlist-anymore-welcome-jtable-also-plans-for-the-future/</link>
		<comments>http://stupidzombie.com/blog/2009/04/25/refactored-gui-not-using-jlist-anymore-welcome-jtable-also-plans-for-the-future/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 03:54:04 +0000</pubDate>
		<dc:creator>josevnz</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[jtable]]></category>
		<category><![CDATA[stupidzombie]]></category>

		<guid isPermaLink="false">http://stupidzombie.com/blog/?p=26</guid>
		<description><![CDATA[So first take a look on the old version of PingBlog (or run it from here using Java webstart): Initially the HTML Tag generation and the Ping GUI were separate. Now the new version offers more details in a more organized way: Big difference using a JTable. Also ping updates are handled better using a [...]]]></description>
			<content:encoded><![CDATA[<p>So first take a look on the old version of PingBlog (or run it from here using Java webstart):</p>
<p><a title="StupidZombie by josevnz, on Flickr" href="http://www.flickr.com/photos/josevnz/3183979706/"><img src="http://farm4.static.flickr.com/3453/3183979706_afea295158.jpg" alt="StupidZombie" width="500" height="448" /><br />
Initially the HTML Tag generation and the Ping GUI were separate.</a></p>
<p>Now the new version offers more details in a more organized way:</p>
<p><a title="StupidZombie ping scree by josevnz, on Flickr" href="http://www.flickr.com/photos/josevnz/3475373204/"><img src="http://farm4.static.flickr.com/3591/3475373204_e01ffa8bd2.jpg" alt="StupidZombie ping scree" width="500" height="429" /><br />
Big difference using a JTable. Also ping updates are handled better using a Observable &#8211; Observer pattern.</a></p>
<p>The idea is to be able to navigate all the ping types more easily (yes, more directories are comming).</p>
<p><strong>Version 1.0 details:</strong><br />
And when version 1.0 will be ready? Well, I plan to release a beta version with all the functionality enabled before having the website ready. But the following changes are coming pretty soon:</p>
<ul>
<li>Sorting and filtering on the table. Easy one but need to sit down and code it</li>
<li>Use Synth for the look and feel of the application</li>
<li>Merge the new logo and look and feel with the GUI and the website. No ETA on this one, except than is a work in progress</li>
</ul>
<p>Once all this is ready I will offer a Jar for download and a webstart link. Stay tunned, more changes comming this way <img src='http://stupidzombie.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> !</p>
<p><strong>And for version 1.1?</strong></p>
<p>Version 1.1 will be mostly bug fixes but also will add two more important features:</p>
<ul>
<li>More directories. Yes, there are lots of directories out there and StupidZombie will support them all!</li>
<li>Soporte para Español (Spanish support). Should be easy to plug in. Also other languages will be added</li>
</ul>
<p>So let&#8217;s the Zombie domination begin!</p>
]]></content:encoded>
			<wfw:commentRss>http://stupidzombie.com/blog/2009/04/25/refactored-gui-not-using-jlist-anymore-welcome-jtable-also-plans-for-the-future/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Refactoring, refactoring&#8230;</title>
		<link>http://stupidzombie.com/blog/2009/04/11/refactoring-refactoring/</link>
		<comments>http://stupidzombie.com/blog/2009/04/11/refactoring-refactoring/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 12:05:35 +0000</pubDate>
		<dc:creator>josevnz</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[zombie]]></category>
		<category><![CDATA[enumerations]]></category>
		<category><![CDATA[refactoring]]></category>

		<guid isPermaLink="false">http://stupidzombie.com/blog/?p=23</guid>
		<description><![CDATA[Yep. Old code was &#8230; old, and kind of ugly. Okay, just plain ugly. So refactoring was in order, like on the Ping Factory class which looks much cleaner now: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 [...]]]></description>
			<content:encoded><![CDATA[<p>Yep. Old code was &#8230; old, and kind of ugly. Okay, just plain ugly. So refactoring was in order, like on the Ping Factory class which looks much cleaner now:</p>

<div class="wp_codebox"><table><tr id="p232"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
</pre></td><td class="code" id="p23code2"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.lang.management.ManagementFactory</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.Set</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.TreeSet</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.logging.Level</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.logging.Logger</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.prefs.Preferences</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.ResourceBundle</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.management.MBeanServer</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">javax.management.ObjectName</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #008000; font-style: italic; font-weight: bold;">/**
 * Factory class to return the proper Ping instance
 * @author undead@stupidzombie.com
 */</span>
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000000; font-weight: bold;">class</span> PingFactory <span style="color: #009900;">&#123;</span>
&nbsp;
	<span style="color: #008000; font-style: italic; font-weight: bold;">/**
	 * Supported ping types
	 */</span>
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000000; font-weight: bold;">enum</span> PingTypes <span style="color: #009900;">&#123;</span>
&nbsp;
		<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aunknown+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">UNKNOWN</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;&quot;</span>, <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>, 
		TO2BLOGS<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;To2Blogs&quot;</span>, <span style="color: #0000ff;">&quot;PINGBLOG_TO2BLOGS_UNIQUEID&quot;</span><span style="color: #009900;">&#41;</span>, 
		BLOGALAXIA<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Blogalaxia&quot;</span>, <span style="color: #0000ff;">&quot;PINGBLOG_BLOGALAXIA_UNIQUEID&quot;</span><span style="color: #009900;">&#41;</span>, 
		VENEBLOGS<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Venblogs&quot;</span>, <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>, 
		WEBLOGS<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Weblogs&quot;</span>, <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>, 
		TECHNORATI<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Technorati&quot;</span>, <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>, 
		BITACORASCOM<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Bitacoras.com&quot;</span>, <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span>, 
		PINGOMATIC<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;PingOMatic&quot;</span>, <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #000000; font-weight: bold;">public</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a> desc<span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">public</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a> id<span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">private</span> PingTypes<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">final</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a> aDesc, <span style="color: #000000; font-weight: bold;">final</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #003399;">String</span></a> aId<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			desc <span style="color: #339933;">=</span> aDesc<span style="color: #339933;">;</span>
			id <span style="color: #339933;">=</span> aId<span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">static</span> PingFactory factory<span style="color: #339933;">;</span>
       <span style="color: #666666; font-style: italic;">// Rest of the code ommited :)</span></pre></td></tr></table></div>

<p>it is amazing how simple Enumerations simplified the code on this class. Now working on the ping controller, that section is long overdue <img src='http://stupidzombie.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://stupidzombie.com/blog/2009/04/11/refactoring-refactoring/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

