<?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</title>
	<atom:link href="http://helpdesk.objects.com.au/feed" rel="self" type="application/rss+xml" />
	<link>http://helpdesk.objects.com.au</link>
	<description>objects quality - the visible difference</description>
	<lastBuildDate>Sun, 17 Jul 2011 12:27:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Generating a random integer</title>
		<link>http://helpdesk.objects.com.au/java/generating-a-random-integer?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=generating-a-random-integer</link>
		<comments>http://helpdesk.objects.com.au/java/generating-a-random-integer#comments</comments>
		<pubDate>Sun, 17 Jul 2011 12:27:36 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[int]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1859</guid>
		<description><![CDATA[The Random class provides a method that returns a random integer between 0 and n (exclusive). Random wheel = new Random(); int random = wheel.nextInt(n); By default it uses the current timestamp as the seed for the random generator, or alternately you can provide your own. Related posts: How do I generate a random integer [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/generating-a-random-integer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unzip a file using Java</title>
		<link>http://helpdesk.objects.com.au/java/unzip-a-file-using-java?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=unzip-a-file-using-java</link>
		<comments>http://helpdesk.objects.com.au/java/unzip-a-file-using-java#comments</comments>
		<pubDate>Thu, 26 May 2011 02:28:47 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[decompress]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[stream]]></category>
		<category><![CDATA[unzip]]></category>
		<category><![CDATA[zip]]></category>
		<category><![CDATA[ZipInputStream]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1855</guid>
		<description><![CDATA[Java provides the ZipInputStream class for reading from a zip file. Heres a general example of its usage File file = new File(&#34;my.zip&#34;); ZipInputStream zin = new ZipInputStream(new FileInputStream(file)); ZipEntry ze = null; while ((ze = zin.getNextEntry()) != null) { String filename = ze.getName(); if (!ze.isDirectory()) { // Read file contents from &#039;zin&#039; // For [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/unzip-a-file-using-java/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stop JTextField from expanding in BoxLayout</title>
		<link>http://helpdesk.objects.com.au/java/stop-jtextfield-from-expanding-in-boxlayout?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=stop-jtextfield-from-expanding-in-boxlayout</link>
		<comments>http://helpdesk.objects.com.au/java/stop-jtextfield-from-expanding-in-boxlayout#comments</comments>
		<pubDate>Thu, 19 May 2011 05:08:49 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[BoxLayout]]></category>
		<category><![CDATA[JTextField]]></category>
		<category><![CDATA[layout]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1849</guid>
		<description><![CDATA[When you add a JTextField to a BoxLayout managed panel it will expand vertically to take up available space. To avoid this you can simply set the maximum size of the field to be the same as its preferred size. textField.setMaximumSize( textField.getPreferredSize() ); Related posts: How to change focus to a specific JTextField? To switch [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/stop-jtextfield-from-expanding-in-boxlayout/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to control volume of audio Clip</title>
		<link>http://helpdesk.objects.com.au/java/how-to-control-volume-of-audio-clip?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-control-volume-of-audio-clip</link>
		<comments>http://helpdesk.objects.com.au/java/how-to-control-volume-of-audio-clip#comments</comments>
		<pubDate>Sun, 17 Apr 2011 22:25:33 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[Clip]]></category>
		<category><![CDATA[Player]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[volume]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1844</guid>
		<description><![CDATA[Cli clip = getClipFromSomewhere(); // Get the gain control from clip FloatControl gainControl = (FloatControl) clip.getControl(FloatControl.Type.MASTER_GAIN); // set the gain (between 0.0 and 1.0) double gain = 0.25; float dB = (float) (Math.log(gain) / Math.log(10.0) * 20.0); gainControl.setValue(dB); Related posts: How to control decimal places displayed in JTable column? Rendering of table cells is handled [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-to-control-volume-of-audio-clip/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Evaluate expression</title>
		<link>http://helpdesk.objects.com.au/java/evaluate-expression?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=evaluate-expression</link>
		<comments>http://helpdesk.objects.com.au/java/evaluate-expression#comments</comments>
		<pubDate>Fri, 15 Apr 2011 05:43:22 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[evaluate]]></category>
		<category><![CDATA[expression]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1837</guid>
		<description><![CDATA[Java introduced scripting support with Java 6. Heres a simple example showing how to use the JavaScript scripting engine to evaluate an expression. ScriptEngineManager manager = new ScriptEngineManager(); ScriptEngine engine = manager.getEngineByName(&#34;JavaScript&#34;); Object result = engine.eval(&#34;6 * (3 + 5)&#34;); Related posts: How to check if a String is an integer using a regular expression? [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/evaluate-expression/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Prompt user for valid value</title>
		<link>http://helpdesk.objects.com.au/java/prompt-user-for-valid-value?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=prompt-user-for-valid-value</link>
		<comments>http://helpdesk.objects.com.au/java/prompt-user-for-valid-value#comments</comments>
		<pubDate>Mon, 21 Mar 2011 04:53:12 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[prompt]]></category>
		<category><![CDATA[stdin]]></category>
		<category><![CDATA[validate]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1833</guid>
		<description><![CDATA[We often get students struggling to read and validate console input from the user. The following example gives a simple example of an approach that can be used. It reads the input from the user and checks if it is a valid double. If its not it prompts the user again. Could easily be modified [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/prompt-user-for-valid-value/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embed font in a PDF using Java and iText</title>
		<link>http://helpdesk.objects.com.au/java/embed-font-in-a-pdf-using-java-and-itext?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=embed-font-in-a-pdf-using-java-and-itext</link>
		<comments>http://helpdesk.objects.com.au/java/embed-font-in-a-pdf-using-java-and-itext#comments</comments>
		<pubDate>Fri, 11 Mar 2011 23:22:06 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[FontFactory]]></category>
		<category><![CDATA[itext]]></category>
		<category><![CDATA[paragraph]]></category>
		<category><![CDATA[pdf]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1824</guid>
		<description><![CDATA[When using non standard fonts in a PDF we need to embed the font so it is available to whoever is reading that PDF (as they probably will not have the font installed on their system). iText provides a great library for generating PDF&#8217;s using Java. It also includes the ability to embed fonts. If [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/embed-font-in-a-pdf-using-java-and-itext/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS Opacity</title>
		<link>http://helpdesk.objects.com.au/javascript/css-opacity?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=css-opacity</link>
		<comments>http://helpdesk.objects.com.au/javascript/css-opacity#comments</comments>
		<pubDate>Fri, 11 Mar 2011 05:47:05 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[animate]]></category>
		<category><![CDATA[opacity]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1817</guid>
		<description><![CDATA[Here is a quick reference on setting the opacity of html elements using CSS, Javascript and JQuery. .someClass { opacity: 0.6; /* For IE8 */ -ms-filter: &#34;progid:DXImageTransform.Microsoft.Alpha(opacity=60)&#34;; /* For IE6 - 8 NB. Element needs to have layout */ filter: alpha(opacity=60); } To change the CSS Opacity with Javascript // for most browsers document.getElementById(&#34;myElement&#34;).style.opacity = [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/javascript/css-opacity/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Include content with a WordPress shortcode</title>
		<link>http://helpdesk.objects.com.au/wordpress/include-content-with-a-wordpress-shortcode?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=include-content-with-a-wordpress-shortcode</link>
		<comments>http://helpdesk.objects.com.au/wordpress/include-content-with-a-wordpress-shortcode#comments</comments>
		<pubDate>Fri, 11 Mar 2011 04:54:43 +0000</pubDate>
		<dc:creator>Obiweb</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[include]]></category>
		<category><![CDATA[shortcode]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1812</guid>
		<description><![CDATA[Recently used a shortcode provided by a plugin and found the content was not being inserted where I had placed the shortcode. Instead the shortcode was inserting the content at the top of my page. Having a look at the source for the plugin uncovered the following. // Shortcode implementation function magic_stuff($atts) { include(TEMPLATEPATH.&#039;/wp-content/prugins/magic-plugin/magic-code.php&#039;); } [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/wordpress/include-content-with-a-wordpress-shortcode/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Displaytag exporting to excel</title>
		<link>http://helpdesk.objects.com.au/java/displaytag-exporting-to-excel?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=displaytag-exporting-to-excel</link>
		<comments>http://helpdesk.objects.com.au/java/displaytag-exporting-to-excel#comments</comments>
		<pubDate>Mon, 07 Mar 2011 09:05:10 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jsp]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[displaytag]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=1802</guid>
		<description><![CDATA[Displaytag is a great tag library for rendering data as a table. As well as handling the generation of the html table, it also provides support for easily exporting the table to a variety of formats including Excel (and CSV). One problem that can occur is Excel formatting the table cells. When it sees a [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/displaytag-exporting-to-excel/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

