<?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>David Qiao&#039;s Blog &#187; JIDE</title>
	<atom:link href="http://www.jidesoft.com/blog/tag/jide/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jidesoft.com/blog</link>
	<description>Love being a Swing developer</description>
	<lastBuildDate>Wed, 18 Jan 2012 21:00:17 +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>Alphanum Sorting</title>
		<link>http://www.jidesoft.com/blog/2011/12/07/alphanum-sorting/</link>
		<comments>http://www.jidesoft.com/blog/2011/12/07/alphanum-sorting/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 22:19:12 +0000</pubDate>
		<dc:creator>David Qiao</dc:creator>
				<category><![CDATA[Java and Swing]]></category>
		<category><![CDATA[JIDE]]></category>
		<category><![CDATA[alphanum]]></category>
		<category><![CDATA[sorting]]></category>
		<category><![CDATA[swing]]></category>

		<guid isPermaLink="false">http://www.jidesoft.com/blog/?p=139</guid>
		<description><![CDATA[While working on an issue related to the file encoding, I am trying to adjust the file encoding settings in IntelliJ IDEA. I noticed something not quite right about the sort order of the encodings. Naturally the ISO-8859-2 to ISO-8859-10 should appear before ISO-8859-13 and -15. UTF-8 should also appear before UTF-16 and UTF-32. Clearly IntelliJ [...]]]></description>
			<content:encoded><![CDATA[<p>While working on an issue related to the file encoding, I am trying to adjust the file encoding settings in IntelliJ IDEA. I noticed something not quite right about the sort order of the encodings. Naturally the ISO-8859-2 to ISO-8859-10 should appear before ISO-8859-13 and -15. UTF-8 should also appear before UTF-16 and UTF-32. Clearly IntelliJ is doing a straight alphabetic sorting.</p>
<p><a href="http://www.jidesoft.com/blog/wp-content/uploads/2011/12/idea-encoding.png"><img class="size-full wp-image-140 alignnone" title="idea-encoding" src="http://www.jidesoft.com/blog/wp-content/uploads/2011/12/idea-encoding.png" alt="" width="584" height="301" /></a></p>
<p><a style="text-align: left;" href="http://www.jidesoft.com/blog/wp-content/uploads/2011/12/idea-encoding-21.png"><img class="alignnone size-full wp-image-142" title="idea-encoding-2" src="http://www.jidesoft.com/blog/wp-content/uploads/2011/12/idea-encoding-21.png" alt="" width="579" height="176" /></a></p>
<div style="text-align: left;">We actually resolved this issue a while ago in the open source JIDE Common Layer. There is a comparator called AlphanumComparator under jidesoft.comparator package. (courtesy to David Koelle). As long as you use this comparator, it will sort the strings with numbers correctly according to what users would expect. See below. The list on the left is the straight alphabetic sorting. The list on the right is using the alphanum sorting.</div>
<div style="text-align: left;"><a href="http://www.jidesoft.com/blog/wp-content/uploads/2011/12/alphanum.png"><img class="alignnone size-full wp-image-143" title="alphanum" src="http://www.jidesoft.com/blog/wp-content/uploads/2011/12/alphanum.png" alt="" width="264" height="327" /></a></div>
<div style="text-align: left;">If you are using SortableComboBoxModel or SortableListModel, you can simply call the code below to enable the alphanum sorting.</div>
<div style="text-align: left;">
<pre>  sortableComboBoxModel.setComparatorContext(AlphanumComparator.CONTEXT);</pre>
<pre>and</pre>
<pre>  sortableListModel.setComparatorContext(AlphanumComparator.CONTEXT);</pre>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jidesoft.com/blog/2011/12/07/alphanum-sorting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Support Synthetica L&amp;F in JIDE</title>
		<link>http://www.jidesoft.com/blog/2008/06/17/support-synthetica-lf-in-jide/</link>
		<comments>http://www.jidesoft.com/blog/2008/06/17/support-synthetica-lf-in-jide/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 17:29:02 +0000</pubDate>
		<dc:creator>David Qiao</dc:creator>
				<category><![CDATA[JIDE]]></category>
		<category><![CDATA[lookandfeel]]></category>
		<category><![CDATA[synthetica]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://www.jidesoft.com/blog/?p=40</guid>
		<description><![CDATA[I had been working closely with Wolfgang in last couple of months or so trying to support Synthetica L&#38;F in all JIDE product lines. I am glad to say we are finally there. You can find some nice screenshots of our demos under various Synthetica themes below. They are all taken under JIDE 2.2.8 release [...]]]></description>
			<content:encoded><![CDATA[<p>I had been working closely with Wolfgang in last couple of months or so trying to support Synthetica L&amp;F in all JIDE product lines. I am glad to say we are finally there. You can find some nice screenshots of our demos under various Synthetica themes below. They are all taken under JIDE 2.2.8 release with Synthetica 2.7.2/SyntheticaAddons 0.9.7.</p>
<ul>
<li><a href="/images/synthetica-blackmoon.png">Black Moon Theme</a></li>
<li><a href="/images/synthetica-blackstar.png">Black Start Theme</a></li>
<li><a href="/images/synthetica-blueice.png">Blue Ice Theme</a></li>
<li><a href="/images/synthetica-bluemoon.png">Blue Moon Theme</a></li>
<li><a href="/images/synthetica-bluesteel.png">Blue Steel Theme</a></li>
<li><a href="/images/synthetica-greendream.png">Green Dream Theme</a></li>
<li><a href="/images/synthetica-mauvemetalic.png">Mauve Mmetalic Theme</a></li>
<li><a href="/images/synthetica-orangemetalic.png">Orange Mmetalic Theme</a></li>
<li><a href="/images/synthetica-silvermoon.png">Silver Moon Theme</a></li>
<li><a href="/images/synthetica-skymetal.png">Sky Metal Theme</a></li>
<li><a href="/images/synthetica-whitevision.png">White Vision Theme</a></li>
<li><a href="/images/synthetica-standard.png">Standard Theme</a></li>
</ul>
<p>Wolfgang, thanks for the support. The Synthetica L&amp;F looks awesome.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jidesoft.com/blog/2008/06/17/support-synthetica-lf-in-jide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

