<?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>Object Definitions Blog &#187; java</title>
	<atom:link href="http://www.objectdefinitions.com/odblog/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.objectdefinitions.com/odblog</link>
	<description>Software Development - random theories, code snippits and opinions</description>
	<lastBuildDate>Tue, 06 Sep 2011 22:43:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to fix right click JTree selection and JPopupMenu so your JTree feels native</title>
		<link>http://www.objectdefinitions.com/odblog/2011/how-to-fix-right-click-selection-and-jpopupmenu-so-your-jtree-feels-native/</link>
		<comments>http://www.objectdefinitions.com/odblog/2011/how-to-fix-right-click-selection-and-jpopupmenu-so-your-jtree-feels-native/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 07:31:03 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[consume]]></category>
		<category><![CDATA[dismiss]]></category>
		<category><![CDATA[JPopupMenu]]></category>
		<category><![CDATA[jtable]]></category>
		<category><![CDATA[JTree]]></category>
		<category><![CDATA[native]]></category>
		<category><![CDATA[popup]]></category>
		<category><![CDATA[right click]]></category>
		<category><![CDATA[right click select]]></category>
		<category><![CDATA[tree]]></category>

		<guid isPermaLink="false">http://www.objectdefinitions.com/odblog/?p=316</guid>
		<description><![CDATA[A way of fixing two annoying issues with JTree popup menus, which may make your swing app feel much more native. Examples to show how to select items in the tree on right click before the popup menu is shown, and a magic property to allow a click outside the popup to select new nodes immediately, as well as dismissing the popup.]]></description>
		<wfw:commentRss>http://www.objectdefinitions.com/odblog/2011/how-to-fix-right-click-selection-and-jpopupmenu-so-your-jtree-feels-native/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Intellij patch not working on Windows 7 or Vista</title>
		<link>http://www.objectdefinitions.com/odblog/2011/intellij-patch-not-working-on-windows-7-or-vista/</link>
		<comments>http://www.objectdefinitions.com/odblog/2011/intellij-patch-not-working-on-windows-7-or-vista/#comments</comments>
		<pubDate>Mon, 04 Apr 2011 20:40:18 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[broken]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[intellij]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[restart]]></category>

		<guid isPermaLink="false">http://www.objectdefinitions.com/odblog/?p=308</guid>
		<description><![CDATA[Just a quick tip, since I googled it and didn&#8217;t find anything much to help!
The intellij patch never seemed to work for me, and I kept having to reinstall from scratch to get a new minor version, until I tried running Intellij with Administrator privileges
Right clicking the intellij startup shortcut and running the program as [...]]]></description>
		<wfw:commentRss>http://www.objectdefinitions.com/odblog/2011/intellij-patch-not-working-on-windows-7-or-vista/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Sparse arrays within Java collections can cause memory leaks.</title>
		<link>http://www.objectdefinitions.com/odblog/2010/sparse-arrays-within-java-collections-can-cause-memory-leaks/</link>
		<comments>http://www.objectdefinitions.com/odblog/2010/sparse-arrays-within-java-collections-can-cause-memory-leaks/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 17:31:22 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[ArrayList]]></category>
		<category><![CDATA[collections]]></category>
		<category><![CDATA[HashMap]]></category>
		<category><![CDATA[leak]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[memory leak]]></category>
		<category><![CDATA[optimisation]]></category>
		<category><![CDATA[sparse]]></category>

		<guid isPermaLink="false">http://www.objectdefinitions.com/odblog/?p=286</guid>
		<description><![CDATA[Here&#8217;s one java interview question which seemes to come up a lot &#8211; when would you use an ArrayList, and when would you use a LinkedList?
Well, there are various reasons to prefer each, but one thing which probably wouldn&#8217;t leap to mind initially is memory efficiency. If you do consider memory efficiency, it might first [...]]]></description>
		<wfw:commentRss>http://www.objectdefinitions.com/odblog/2010/sparse-arrays-within-java-collections-can-cause-memory-leaks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New jtimeseries project on sourceforge</title>
		<link>http://www.objectdefinitions.com/odblog/2010/new-jtimeseries-project-on-sourceforge/</link>
		<comments>http://www.objectdefinitions.com/odblog/2010/new-jtimeseries-project-on-sourceforge/#comments</comments>
		<pubDate>Thu, 20 May 2010 07:33:29 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jtimeseries]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[metrics]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[profiling]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[timeseries]]></category>

		<guid isPermaLink="false">http://www.objectdefinitions.com/odblog/?p=264</guid>
		<description><![CDATA[For the last year and a half I have been hard at work at a new open source project jtimeseries.
This has finally made it onto sourceforge!
So what can you do with this jtimeseries thing?
Quite a lot, already. Let me explain how this project was conceived&#8230;.
Initially, I was looking for a java based API which I [...]]]></description>
		<wfw:commentRss>http://www.objectdefinitions.com/odblog/2010/new-jtimeseries-project-on-sourceforge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find the pid of a java process from code</title>
		<link>http://www.objectdefinitions.com/odblog/2010/how-to-find-the-pid-of-a-java-process-from-code/</link>
		<comments>http://www.objectdefinitions.com/odblog/2010/how-to-find-the-pid-of-a-java-process-from-code/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 12:35:56 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[finding]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[JMX]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pid]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.objectdefinitions.com/odblog/?p=255</guid>
		<description><![CDATA[Finding the pid of a running java process from java code]]></description>
		<wfw:commentRss>http://www.objectdefinitions.com/odblog/2010/how-to-find-the-pid-of-a-java-process-from-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JTable setRowHeight causes slow repainting</title>
		<link>http://www.objectdefinitions.com/odblog/2009/jtable-setrowheight-causes-slow-repainting/</link>
		<comments>http://www.objectdefinitions.com/odblog/2009/jtable-setrowheight-causes-slow-repainting/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 15:22:18 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[jtable]]></category>
		<category><![CDATA[repaint]]></category>
		<category><![CDATA[setRowHeight]]></category>

		<guid isPermaLink="false">http://www.objectdefinitions.com/odblog/?p=234</guid>
		<description><![CDATA[I&#8217;ve spent way too much time in the last few months fixing and optimising table rendering performance for a high performance Java application I&#8217;m working on at the moment. The problems were particularly hard to find becuase the app supports customization of almost every aspect of JTable UI, with custom rendering for rows, columns and [...]]]></description>
		<wfw:commentRss>http://www.objectdefinitions.com/odblog/2009/jtable-setrowheight-causes-slow-repainting/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Lower bound wildcards in java &#8211; how to apply the get and put principle</title>
		<link>http://www.objectdefinitions.com/odblog/2009/confusion-over-lower-bound-wildcards-how-to-apply-the-get-and-put-principle/</link>
		<comments>http://www.objectdefinitions.com/odblog/2009/confusion-over-lower-bound-wildcards-how-to-apply-the-get-and-put-principle/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 18:14:22 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[generics]]></category>
		<category><![CDATA[get and put principle]]></category>
		<category><![CDATA[lower bound wildcard]]></category>

		<guid isPermaLink="false">http://www.objectdefinitions.com/odblog/2009/confusion-over-lower-bound-wildcards-how-to-apply-the-get-and-put-principle/</guid>
		<description><![CDATA[I recently saw an answer to a generics question on stack overflow where an incorrect (or at least misleading) answer has been voted up to the top. Sometimes generics are just a bit unintuitive.
Here is the example in a nutshell -
&#160; &#160;addToList&#40;List&#60;? super Shape&#62; l&#41; &#123;
&#160; &#160; l.add&#40;new Object&#40;&#41;&#41;;
&#125;

&#160;// That should work, right? After all [...]]]></description>
		<wfw:commentRss>http://www.objectdefinitions.com/odblog/2009/confusion-over-lower-bound-wildcards-how-to-apply-the-get-and-put-principle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Careful how you synchronize toArray()</title>
		<link>http://www.objectdefinitions.com/odblog/2009/careful-how-you-synchronize-toarray/</link>
		<comments>http://www.objectdefinitions.com/odblog/2009/careful-how-you-synchronize-toarray/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 18:07:44 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.objectdefinitions.com/odblog/2009/careful-how-you-synchronize-toarray/</guid>
		<description><![CDATA[This is a fuller version of the code snippit I submitted to the interesting thread on java synchronization issues on stack overflow
In general it can be tempting to assume too much thread safety when using synchronized collection classes.
It can be easy to think they somehow grant you more protection than they actually do, and forget [...]]]></description>
		<wfw:commentRss>http://www.objectdefinitions.com/odblog/2009/careful-how-you-synchronize-toarray/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Workaround for bug id 6753651 &#8211; find path to jar in cache under webstart</title>
		<link>http://www.objectdefinitions.com/odblog/2008/workaround-for-bug-id-6753651-find-path-to-jar-in-cache-under-webstart/</link>
		<comments>http://www.objectdefinitions.com/odblog/2008/workaround-for-bug-id-6753651-find-path-to-jar-in-cache-under-webstart/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 13:14:02 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[6753651]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[getResource]]></category>
		<category><![CDATA[jar]]></category>
		<category><![CDATA[jar path]]></category>
		<category><![CDATA[webstart]]></category>
		<category><![CDATA[webstart cache]]></category>

		<guid isPermaLink="false">http://www.objectdefinitions.com/odblog/2008/workaround-for-bug-id-6753651-find-path-to-jar-in-cache-under-webstart/</guid>
		<description><![CDATA[Here is a workaround for the changes in 1.5.0_16 and 1.6.0_07, which prevent you from obtaining a valid URL using Class.getResource(myClassName) under webstart.
This is related to bug id 6753651 raised here
URLs acquired in this way used to include a filesystem path to the jar file in the local webstart cache containing the resource. Some apps [...]]]></description>
		<wfw:commentRss>http://www.objectdefinitions.com/odblog/2008/workaround-for-bug-id-6753651-find-path-to-jar-in-cache-under-webstart/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>New Open Source SwingCommand library released</title>
		<link>http://www.objectdefinitions.com/odblog/2008/new-open-source-swingcommand-library-released/</link>
		<comments>http://www.objectdefinitions.com/odblog/2008/new-open-source-swingcommand-library-released/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 07:53:42 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[action]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[command pattern]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.objectdefinitions.com/odblog/2008/new-open-source-swingcommand-library-released/</guid>
		<description><![CDATA[I finally completed open sourcing SwingCommand &#8211; an open source library which provides support for the command pattern in Swing. In addition to synchronous commands, it provides support for asynchronous commands, which hides away the gory threading details in a similar way to the SwingWorker class &#8211; but in SwingCommand the asynchronous commands are integrated [...]]]></description>
		<wfw:commentRss>http://www.objectdefinitions.com/odblog/2008/new-open-source-swingcommand-library-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

