<?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>web development helpdesk &#187; thread</title>
	<atom:link href="http://helpdesk.objects.com.au/tag/thread/feed" rel="self" type="application/rss+xml" />
	<link>http://helpdesk.objects.com.au</link>
	<description>objects quality - the visible difference</description>
	<lastBuildDate>Mon, 06 Sep 2010 08:12:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How do I update my GUI from any thread?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-update-my-gui-from-any-thread?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-do-i-update-my-gui-from-any-thread</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-update-my-gui-from-any-thread#comments</comments>
		<pubDate>Sun, 25 Jan 2009 12:59:02 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[EDT]]></category>
		<category><![CDATA[event dispatch thread]]></category>
		<category><![CDATA[thread]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=807</guid>
		<description><![CDATA[Swing is single threaded so any updates need to be done from Swing&#8217;s event dispatch thread. If you need perform an update from another thread then you need to use the helper methods provided by the EventQueue class. The two methods are invokeLater() and invokeAndWait(), which queue the call for execution on the EDT. invokeLater() [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-update-my-gui-from-any-thread/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to execute code at regular interval?</title>
		<link>http://helpdesk.objects.com.au/java/how-to-execute-code-at-regular-interval?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-execute-code-at-regular-interval</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-execute-code-at-regular-interval#comments</comments>
		<pubDate>Mon, 22 Dec 2008 01:26:31 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[thread]]></category>
		<category><![CDATA[Timer]]></category>
		<category><![CDATA[TimerTask]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=782</guid>
		<description><![CDATA[The java.util.Timer class can be used to schedule code to be executed repeated at a fixed interval. The TimerTask class is used to encapsulate the code to be executed. Timer timer = new Timer(); timer.schedule(new TimerTask() { public void run() { // put the code you want to run here } }, initialDelay, interval); Subscribe [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-execute-code-at-regular-interval/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I execute a method in a new thread using Java?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-execute-a-method-in-a-new-thread-using-java?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-do-i-execute-a-method-in-a-new-thread-using-java</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-execute-a-method-in-a-new-thread-using-java#comments</comments>
		<pubDate>Wed, 08 Oct 2008 10:05:06 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[thread]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=408</guid>
		<description><![CDATA[Create a new Instance of Thread and call its start() method to start it. You give the Thread constructor some instance that implements the Runnable interface. Once started the Thread will call the Runnable instances run() method is a separate thread. Thread thread = new Thread(new Runnable() { public void run() { // this will [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-execute-a-method-in-a-new-thread-using-java/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can I get some code run when my application shuts down?</title>
		<link>http://helpdesk.objects.com.au/java/how-can-i-get-some-code-run-when-my-application-shuts-down?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-can-i-get-some-code-run-when-my-application-shuts-down</link>
		<comments>http://helpdesk.objects.com.au/java/how-can-i-get-some-code-run-when-my-application-shuts-down#comments</comments>
		<pubDate>Wed, 01 Oct 2008 13:36:29 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[hook]]></category>
		<category><![CDATA[shutdown]]></category>
		<category><![CDATA[thread]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=393</guid>
		<description><![CDATA[Use shutdown hook thread. Runtime.getRuntime().addShutdownHook(new Thread() { public void run() { // this will get called on shutdown shutdownCleanup(); } }); Subscribe to the comments for this post? Email this to a friend? Share this on del.icio.us Add this to Google Bookmarks Share this on LinkedIn Clip this to Evernote Share this on Technorati Add [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-can-i-get-some-code-run-when-my-application-shuts-down/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I execute a piece of code at a specified time?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-execute-a-piece-of-code-at-a-specified-time?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-do-i-execute-a-piece-of-code-at-a-specified-time</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-execute-a-piece-of-code-at-a-specified-time#comments</comments>
		<pubDate>Wed, 01 Oct 2008 13:14:02 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[thread]]></category>
		<category><![CDATA[Timer]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=367</guid>
		<description><![CDATA[The java.util.Timer class can be used to schedule code to be executed in the future. The TimerTask class is used to encapsulate the code to be executed. Date whenToExecute = getTimeToExecuteCode(); Timer timer = new Timer(); timer.schedule(new TimerTask() { public void run() { // put the code you want to run here } }, whenToExecute); [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-execute-a-piece-of-code-at-a-specified-time/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I execute a block of code after a specified time has elapsed?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-execute-a-block-of-code-after-a-specified-time-has-elapsed?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-do-i-execute-a-block-of-code-after-a-specified-time-has-elapsed</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-execute-a-block-of-code-after-a-specified-time-has-elapsed#comments</comments>
		<pubDate>Wed, 01 Oct 2008 13:12:33 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[thread]]></category>
		<category><![CDATA[Timer]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=363</guid>
		<description><![CDATA[The java.util.Timer class can be used to schedule code to be execute in the future. The TimerTask class is used to encapsulate the code to be executed. int delay = 5000; //msecs Timer timer = new Timer(); timer.schedule(new TimerTask() { public void run() { // put the code you want to run here // It [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-execute-a-block-of-code-after-a-specified-time-has-elapsed/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
