<?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>Computer Cranium</title>
	<atom:link href="http://computercranium.com/feed" rel="self" type="application/rss+xml" />
	<link>http://computercranium.com</link>
	<description>Your Computer Science Resource</description>
	<lastBuildDate>Fri, 23 Jul 2010 01:15:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Simple XML Reader</title>
		<link>http://computercranium.com/programming/java/simple-xml-reader</link>
		<comments>http://computercranium.com/programming/java/simple-xml-reader#comments</comments>
		<pubDate>Sun, 25 Apr 2010 05:06:30 +0000</pubDate>
		<dc:creator>Kurt</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://computercranium.com/?p=457</guid>
		<description><![CDATA[Nowadays XML is a popular format for configuration files and transferring messages across networks. For reading node values from an XML file, I&#8217;ve created a small utility class.  There are two useful methods in this class, getElementValue() and getElementValues().  In this article, I will briefly show how you can read in values from [...]]]></description>
		<wfw:commentRss>http://computercranium.com/programming/java/simple-xml-reader/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW-TO: Wrap Strings in Java (Swing)</title>
		<link>http://computercranium.com/programming/java/how-to-wrap-strings-in-java</link>
		<comments>http://computercranium.com/programming/java/how-to-wrap-strings-in-java#comments</comments>
		<pubDate>Wed, 28 Oct 2009 01:18:40 +0000</pubDate>
		<dc:creator>Kurt</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[string]]></category>
		<category><![CDATA[string wrap]]></category>
		<category><![CDATA[wrap]]></category>

		<guid isPermaLink="false">http://computercranium.com/?p=444</guid>
		<description><![CDATA[Ever wonder why there&#8217;s no method to wrap a String based on a certain number of characters in Swing? Me, too.  Having the ability to wrap Strings can be especially useful if you don&#8217;t know how long your Strings are going to be, such as when you have translated text in a JOptionPane (or [...]]]></description>
		<wfw:commentRss>http://computercranium.com/programming/java/how-to-wrap-strings-in-java/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Relative Date and Time</title>
		<link>http://computercranium.com/programming/java/relative-date</link>
		<comments>http://computercranium.com/programming/java/relative-date#comments</comments>
		<pubDate>Thu, 13 Aug 2009 19:02:16 +0000</pubDate>
		<dc:creator>Kurt</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[relative date]]></category>
		<category><![CDATA[relative time]]></category>

		<guid isPermaLink="false">http://computercranium.com/?p=432</guid>
		<description><![CDATA[In an application I&#8217;m working on, I needed the ability to show the date and time in a relative manner.  In other words, rather than displaying the full date and time like &#8220;August 13, 2009 at 3:07 pm&#8221;, I wanted to be able to determine when this date is relative to now and show [...]]]></description>
		<wfw:commentRss>http://computercranium.com/programming/java/relative-date/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PROJECT: TrayTweet v.2.0</title>
		<link>http://computercranium.com/announcements/project-traytweet-v-2-0</link>
		<comments>http://computercranium.com/announcements/project-traytweet-v-2-0#comments</comments>
		<pubDate>Fri, 31 Jul 2009 20:37:22 +0000</pubDate>
		<dc:creator>Kurt</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://computercranium.com/?p=430</guid>
		<description><![CDATA[Just updated my previous TrayTweet project to version 2.0. All those interested please click here for more information.
]]></description>
		<wfw:commentRss>http://computercranium.com/announcements/project-traytweet-v-2-0/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PROJECT: TrayTweet</title>
		<link>http://computercranium.com/announcements/project-traytweet</link>
		<comments>http://computercranium.com/announcements/project-traytweet#comments</comments>
		<pubDate>Fri, 10 Jul 2009 00:49:34 +0000</pubDate>
		<dc:creator>Kurt</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://computercranium.com/?p=410</guid>
		<description><![CDATA[I recently published a free Twitter system tray client called TrayTweet. While the code is not open source, I will post some of the highlights.

TrayTweet has a simple interface and brings most of the functions of the Twitter website to your desktop.
Why use TrayTweet instead of your browser?

You&#8217;re always logged in.
Sending a tweet takes only [...]]]></description>
		<wfw:commentRss>http://computercranium.com/announcements/project-traytweet/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HOW-TO: Save User Preferences with Java&#8217;s Preferences API</title>
		<link>http://computercranium.com/programming/java/how-to-save-user-preferences</link>
		<comments>http://computercranium.com/programming/java/how-to-save-user-preferences#comments</comments>
		<pubDate>Thu, 09 Jul 2009 15:21:47 +0000</pubDate>
		<dc:creator>Kurt</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[preferences]]></category>
		<category><![CDATA[preferences api]]></category>
		<category><![CDATA[user preferences]]></category>

		<guid isPermaLink="false">http://computercranium.com/?p=310</guid>
		<description><![CDATA[Users have certain expectations of your program. One of those expectations might be to have their preferences saved. This might include their username and password, the location of the application window, the size of the window, etc. Java&#8217;s Preferences API is an easy way to accomplish tasks like this without having to manually write and [...]]]></description>
		<wfw:commentRss>http://computercranium.com/programming/java/how-to-save-user-preferences/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW-TO: Center a JFrame On The Screen</title>
		<link>http://computercranium.com/programming/java/howto-center-a-jframe-on-the-screen</link>
		<comments>http://computercranium.com/programming/java/howto-center-a-jframe-on-the-screen#comments</comments>
		<pubDate>Wed, 10 Jun 2009 01:52:41 +0000</pubDate>
		<dc:creator>Kurt</dc:creator>
				<category><![CDATA[GUI]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[center]]></category>
		<category><![CDATA[jframe]]></category>
		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">http://computercranium.com/?p=298</guid>
		<description><![CDATA[If you want to add a nice touch to your GUI application, have your JFrame automatically center on the user&#8217;s screen.  Not only does this looks much better than having it start up in the default (0, 0) location, but it takes very little coding effort to make this happen.  There are two [...]]]></description>
		<wfw:commentRss>http://computercranium.com/programming/java/howto-center-a-jframe-on-the-screen/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW-TO: Detect link clicks in JEditorPane</title>
		<link>http://computercranium.com/programming/java/how-to-detect-link-clicks-in-jeditorpane</link>
		<comments>http://computercranium.com/programming/java/how-to-detect-link-clicks-in-jeditorpane#comments</comments>
		<pubDate>Tue, 09 Jun 2009 00:55:47 +0000</pubDate>
		<dc:creator>Kurt</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[hyperlink]]></category>
		<category><![CDATA[jeditorpane]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://computercranium.com/?p=360</guid>
		<description><![CDATA[If you are using a JEditorPane to display HTML, and that HTML contains links, there is no built-in function to automatically detect if the user clicks on a link.  What&#8217;s the solution to this problem?  Create a HyperlinkListener.  Here&#8217;s how&#8230;

Recently for a project, I had to use a JEditorPane to display some [...]]]></description>
		<wfw:commentRss>http://computercranium.com/programming/java/how-to-detect-link-clicks-in-jeditorpane/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW-TO: Java Gradient Backgrounds</title>
		<link>http://computercranium.com/programming/java/how-to-java-gradient-backgrounds</link>
		<comments>http://computercranium.com/programming/java/how-to-java-gradient-backgrounds#comments</comments>
		<pubDate>Tue, 09 Jun 2009 00:40:14 +0000</pubDate>
		<dc:creator>Kurt</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[gradient]]></category>

		<guid isPermaLink="false">http://computercranium.com/?p=353</guid>
		<description><![CDATA[Nowadays, if you are developing a GUI application, it looks more &#8220;professional&#8221; if your window&#8217;s background is gradient (i.e. the background fades from light to dark, or dark to light).  This gives your application a more polished look and can greatly improve the interface without much effort. Here&#8217;s how to do it&#8230;

The Code
Add the [...]]]></description>
		<wfw:commentRss>http://computercranium.com/programming/java/how-to-java-gradient-backgrounds/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW-TO: Retrieve a File&#8217;s extension in Java</title>
		<link>http://computercranium.com/programming/java/how-to-retrieve-a-files-extension-in-java</link>
		<comments>http://computercranium.com/programming/java/how-to-retrieve-a-files-extension-in-java#comments</comments>
		<pubDate>Mon, 01 Jun 2009 14:13:24 +0000</pubDate>
		<dc:creator>Kurt</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[file]]></category>

		<guid isPermaLink="false">http://computercranium.com/?p=348</guid>
		<description><![CDATA[For some strange reason, there&#8217;s no getFileExtension() or getExtension() method in Java&#8217;s File class (perhaps because Files do not necessarily always have extensions in every platform?).  Nevertheless, that doesn&#8217;t mean we can&#8217;t do it on our own.  All it takes is one line of code!

Suppose you have a File named file.  We [...]]]></description>
		<wfw:commentRss>http://computercranium.com/programming/java/how-to-retrieve-a-files-extension-in-java/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
