<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
	<channel>
		<title>Bollogs</title>
		<link>http://www.portly.net/sphpblog/index.php</link>
		<description><![CDATA[All content covered by the &#039;BuyMeAPintIfYouUseThisStuff&#039; licence (c) 2007 portly.net All Rights Reversed]]></description>
		<copyright>Copyright 2009, No Author</copyright>
		<managingEditor>No Author</managingEditor>
		<language>en-US</language>
		<generator>SPHPBLOG 0.5.1</generator>
		<item>
			<title>Find in unix</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry081010-044644</link>
			<description><![CDATA[Still haven&#039;t found what you&#039;re looking for ?<br /><br />Try this<br /><br /><a href="http://www.athabascau.ca/html/depts/compserv/webunit/HOWTO/find.htm" target="_blank" >Useful find sequences for Unix</a><br /><br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry081010-044644</guid>
			<author>No Author</author>
			<pubDate>Fri, 10 Oct 2008 09:46:44 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=10&amp;entry=entry081010-044644</comments>
		</item>
		<item>
			<title>Dumping a SQL Server table to SQL statements</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry080923-035442</link>
			<description><![CDATA[This useful utility will extract the contents of tables in SQL Server and dump them to a file ... I&#039;ve found it useful when I&#039;ve been wanting to dump a subset of data from one environment to another ...<br /><br /><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=56E5B1C5-BF17-42E0-A410-371A838E570A&amp;displaylang=en" target="_blank" >MS Database Publishing Wizard</a><br /><br />Kudos to <a href="http://www.simonholywell.com/article/sql-server-2005-dump-to-sql-statements.html" target="_blank" >this blog entry</a> for pointing me in the right direction !]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry080923-035442</guid>
			<author>No Author</author>
			<pubDate>Tue, 23 Sep 2008 08:54:42 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=09&amp;entry=entry080923-035442</comments>
		</item>
		<item>
			<title>Unknown Source shows up instead of line numbers in a Java stack trace</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry080912-044059</link>
			<description><![CDATA[If you get a stack trace in a piece of code that is difficult to debug through Eclipse (or simialr) and you rely on the stack trace to tell you where an exception is occuring, you may sometimes see <code>(Unknown Source)</code> instead of a line number ... never fear, to get the line numbers to appear, make sure you switch the debugging information on for a class when it is compiled. i.e. don&#039;t specify the &#039;<code>-g:none</code>&#039; flag when compiling, or, in Ant, make sure you set the following attribute for the <code>javac</code> task;<br /><br /><code>&lt;javac srcdir=&quot;${src}&quot; destdir=&quot;${build}&quot; debug=&quot;true&quot;&gt;</code>]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry080912-044059</guid>
			<author>No Author</author>
			<pubDate>Fri, 12 Sep 2008 09:40:59 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=09&amp;entry=entry080912-044059</comments>
		</item>
		<item>
			<title>Find out your user details in PHP</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry080813-030334</link>
			<description><![CDATA[Use these lines to fidn out various information about your process in a PHP file;<br /><code><br />echo &#039;Id: &#039; . getmyuid() . &#039;&lt;br /&gt;&#039;;<br />echo &#039;Gid: &#039; . getmygid() . &#039;&lt;br /&gt;&#039;;<br />echo nl2br(print_r(stat(&#039;index.php&#039;), true));<br /></code><br /><br />often comes in handy when you&#039;re writing to a file in a Unix environment and it just won&#039;t work !<br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry080813-030334</guid>
			<author>No Author</author>
			<pubDate>Wed, 13 Aug 2008 08:03:34 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=08&amp;entry=entry080813-030334</comments>
		</item>
		<item>
			<title>Smarty, Unix permissions, pain, woe, grief</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry080707-155456</link>
			<description><![CDATA[As it says ...<br /><br />had a custom function in Smarty called &#039;currency&#039;<br /><br />the owner of the directory was &#039;fred&#039;, the group was &#039;fred&#039;. Cushty.<br /><br />Kept getting this message;<br /><br /><code>Fatal error: Smarty error: [in school_search.tpl line 100]: [plugin] unknown tag - &#039;currency&#039; (core.load_plugins.php, line 118) in /opt/lampp/lao/libs/Smarty.class.php on line 1095</code><br /><br />Turns out the group and other permissions have to be set to &#039;r&#039; as well ...<br /><br />obvious to a Unix guru ! Less obvious to a pleb like me :-(]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry080707-155456</guid>
			<author>No Author</author>
			<pubDate>Mon, 07 Jul 2008 20:54:56 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=07&amp;entry=entry080707-155456</comments>
		</item>
		<item>
			<title>MDI MS-DOS</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry080605-073636</link>
			<description><![CDATA[Some tools I have encountered lately that are a bit special ...<br /><br /><a href="http://www.quanetic.com/regex.php" target="_blank" >online regular expression checker</a><br /><br /><a href="http://www.activestate.com/Products/komodo_ide/komodo_edit.mhtml" target="_blank" >komodo open source IDE - source/text editor</a><br /><br /><a href="http://sourceforge.net/projects/console/" target="_blank" >console2 - an MDI MS-DOS console</a><br /><br /><a href="http://www.foxitsoftware.com/pdf/rd_intro.php" target="_blank" >foxit - PDF reader - 1000 x better than the adobe effort !</a><br /><br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry080605-073636</guid>
			<author>No Author</author>
			<pubDate>Thu, 05 Jun 2008 12:36:36 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=06&amp;entry=entry080605-073636</comments>
		</item>
		<item>
			<title>XMing and plink</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry080514-050548</link>
			<description><![CDATA[Useful X Server <a href="http://www.straightrunning.com/XmingNotes/" target="_blank" >here</a> for Windows. Called Xming.<br /><br />X Servers and the like are a mystery to me; all I know is that if I start the XMing server in Windows, then add it&#039;s program directory to my path, then go to a command prompt and type<br /><br /><code><strong>plink.exe -pw my_secret_password -ssh -X username@machine_ip_or_name xcalc</strong></code><br /><br />then I can get an xcalc application running on my desktop<br /><br />Now that&#039;s progress for you !<br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry080514-050548</guid>
			<author>No Author</author>
			<pubDate>Wed, 14 May 2008 10:05:48 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=05&amp;entry=entry080514-050548</comments>
		</item>
		<item>
			<title>Eclipse says &#039;The type java.lang.Object cannot be resolved&#039;</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry080401-082933</link>
			<description><![CDATA[I created a new project in Eclipse today and added a class.<br /><br />The <code>package<code> statement had been underlined in red and gave me the <b>The type java.lang.Object cannot be resolved</b> error message .... turns out I needed to add a JRE to my project ... d&#039;oh !<br /><br />see <a href="http://redgloo.sse.rdg.ac.uk/java/weblog/1255.html" target="_blank" >here</a> for more info]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry080401-082933</guid>
			<author>No Author</author>
			<pubDate>Tue, 01 Apr 2008 13:29:33 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=04&amp;entry=entry080401-082933</comments>
		</item>
		<item>
			<title>LAMPP/XAMPP and phpMyAdmin errors</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry080317-051808</link>
			<description><![CDATA[Just installed <a href="&#039;http://www.apachefriends.org/en/xampp.html&#039;" target="_blank" >XAMPP</a> and got a problem when I went to click on the phpMyAdmin link in the menu<br /><br /><code>&quot;please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.&quot;</code> <br /><br />turns out it&#039;s related to php not having access to the nominated directory (<code>/tmp</code>) where it likes to store its session information.<br /><br />The resolution;<br /><br /><code>prompt&gt; chmod 777 /tmp</code><br /><br />simple !]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry080317-051808</guid>
			<author>No Author</author>
			<pubDate>Mon, 17 Mar 2008 10:18:08 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=03&amp;entry=entry080317-051808</comments>
		</item>
		<item>
			<title>Foreign Keys in MYSQL</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry080212-054015</link>
			<description><![CDATA[I&#039;ve been doing some work in my spare time on a PHP/MySQL site. <br />I decided to be all proper and use foreign keys to make everything nice.<br /><br />I set up a script and ran it and it kept failing with this;<br /><code><b><br />ERROR 1005 (HY000) at line 88: Can&#039;t create table &#039;.\database_name\table_name.frm&#039; (errno: 150)</b></code><br /><br />the script said this<br /><br /><code>,FOREIGN KEY (status_ID) REFERENCES Status(status_ID) ON DELETE NO ACTION ON UPDATE NO ACTION</code><br /><br />ans both the status_ID in the table I was creating, and the status ID in the table I was referencing were <code>INT NOT NULL</code>, so I could not work out why it was happening ... until I realised that the key I was referencing was in fact <code>INT <b>UNSIGNED</b> NOT NULL</code> ... <br /><br />... and therein lies the difference ! Unsigned versus signed ... of course, if I had applied the &#039;make sure the columns are of EXACTLY the same datatype&#039; rule, then this would never happen.<br /><br />Smack on the wrist.]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry080212-054015</guid>
			<author>No Author</author>
			<pubDate>Tue, 12 Feb 2008 11:40:15 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=02&amp;entry=entry080212-054015</comments>
		</item>
		<item>
			<title>Turning off the beep on a Dell Latitude 620</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry080204-143309</link>
			<description><![CDATA[If you&#039;ve got a Dell Latitude 620 and that bloody annoying beep that occurs in a console window is cheesing you off, then hope is at hand ;<br /><br />Turning off the beep on a Dell Latitude D620<br /><br />1. Right-click on &quot;My Computer&quot;, then click &quot;Manage&quot;<br />2. Click on &quot;Device Manager&quot;<br />3. Click on &quot;View &gt; Show hidden Devices&quot;<br />4. Click on &quot;Non-Plug and Play Drivers&quot;. Then right-click on &quot;Beep&quot; and choose &quot;disable&quot;.<br />5. Restart<br /><br /><br />hoorah for <a href="www.tjrobinson.net/blog/post/Turning-off-the-beep-on-a-Dell-Latitude-D620.aspx" target="_blank" > this man </a>and his blog]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry080204-143309</guid>
			<author>No Author</author>
			<pubDate>Mon, 04 Feb 2008 20:33:09 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=02&amp;entry=entry080204-143309</comments>
		</item>
		<item>
			<title>Command prompts from Explorer in Windows</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry080204-074633</link>
			<description><![CDATA[Oooh, this is &#039;andy &#039;arry .... <a href="http://www.petri.co.il/add_command_prompt_here_shortcut_to_windows_explorer.htm" target="_blank" >http://www.petri.co.il/add_command_prom ... plorer.htm</a>]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry080204-074633</guid>
			<author>No Author</author>
			<pubDate>Mon, 04 Feb 2008 13:46:33 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=02&amp;entry=entry080204-074633</comments>
		</item>
		<item>
			<title>SQLServer and the 10061 message</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry080201-165615</link>
			<description><![CDATA[Every time I install SQLServer Express Edition 2005 I get a problem with the TCP/IP connectivity ..solution is in here <a href="http://blogs.msdn.com/sql_protocols/archive/2007/07/19/tcp-provider-no-connection-could-be-made-because-the-target-machine-actively-refused-it.aspx" target="_blank" >http://blogs.msdn.com/sql_protocols/arc ... ed-it.aspx</a><br /><br />you need to set a value for the TCP port in the IPAll section of the <b>enabled</b> TCP/IP connection option.<br /><br />You can turn that on by starting the &#039;SQL Server Configuration Manager&#039;, selecting and expanding the SQL Server 2005 Network Connections tree and then selecting protocols for SQL Express ... phew !!!]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry080201-165615</guid>
			<author>No Author</author>
			<pubDate>Fri, 01 Feb 2008 22:56:15 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=02&amp;entry=entry080201-165615</comments>
		</item>
		<item>
			<title>Remote debugging of Tomcat using Eclipse</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry080131-114627</link>
			<description><![CDATA[This is fairly easy, proving you know what to set up and where;<br /><br />First, amend the Tomcat startup such that it will make use of JDPA. I edited my startup.bat file and put these three lines at the top, just below the rem statements<br /><code><br />rem  *** Remove these for non-debug version<br />SET JPDA_TRANSPORT=dt_socket<br />SET JPDA_ADDRESS=8000<br />SET JPDA_SUSPEND=n <br /></code><br /><br />then, at the bottom of that file, I amended the start command to teh following<br /><br /><code><br />call &quot;%EXECUTABLE%&quot; <strong>jpda</strong> start %CMD_LINE_ARGS%<br /></code><br /><br />where the jpda is a new addition. Of course, you could define that as an Env var and just set or unset it at the top.<br /><br />Next, you need to configure a Remote Debug session with your project in Eclipse, like so ...<br /><br /><img src="images/debug.jpg" width="480" height="357" border="0" alt="" /><br /><br />pressing <b>Debug</b> starts the session.]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry080131-114627</guid>
			<author>No Author</author>
			<pubDate>Thu, 31 Jan 2008 17:46:27 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=01&amp;entry=entry080131-114627</comments>
		</item>
		<item>
			<title>Parsing a DateTime into a Timestamp in Java</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry080130-044214</link>
			<description><![CDATA[I needed to parse a datetime value, with or without the time portion, into a <code>java.sql.Timestamp</code> object. <br />Initially, you need to populate a <code>java.util.Date</code> object.<br /><code><br /><pre><br />boolean wasDateOnly = false;<br />Date dt = null;<br />SimpleDateFormat formatter[] = new SimpleDateFormat[]{<br />	new SimpleDateFormat(&quot;yyyy/mm/dd HH:mm:ss.SSS&quot;),<br />	new SimpleDateFormat(&quot;yyyy/mm/dd HH:mm:ss&quot;),<br />	new SimpleDateFormat(&quot;yyyy/mm/dd HH:mm&quot;),<br />	new SimpleDateFormat(&quot;yyyy/mm/dd&quot;)<br />	}; <br /><br />for (int counter = 0; dt == null &amp;&amp; counter &lt; formatter.length; counter++) { <br />	try {<br />		dt = formatter[counter].parse((String) value);<br />		if (counter == formatter.length - 1)<br />			wasDateOnly = true;<br />	} catch (ParseException e) {<br />	}<br />}<br /><br />if (dt != null) {<br />	... do stuff with the dt object here ... like stuffing into a Calendar ...<br />}<br /></pre><br /></code>]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry080130-044214</guid>
			<author>No Author</author>
			<pubDate>Wed, 30 Jan 2008 10:42:14 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=08&amp;m=01&amp;entry=entry080130-044214</comments>
		</item>
		<item>
			<title>Web safe colour picker</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry071121-073817</link>
			<description><![CDATA[Take a look <a href="http://www.mywebsite.force9.co.uk/web-colors/color-pickers.htm" target="_blank" >here</a>  <br />grrr ... note spelling of colour on that page.]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry071121-073817</guid>
			<author>No Author</author>
			<pubDate>Wed, 21 Nov 2007 13:38:17 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=07&amp;m=11&amp;entry=entry071121-073817</comments>
		</item>
		<item>
			<title>Web 2.0 wait/cursor icons</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry071114-053640</link>
			<description><![CDATA[Take a peek <a href="http://ajaxload.info/" target="_blank" >here</a><br /><br />Some icons <a href="http://www.mouserunner.com/Spheres_Icons_Index.html" target="_blank" >here</a> as well]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry071114-053640</guid>
			<author>No Author</author>
			<pubDate>Wed, 14 Nov 2007 11:36:40 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=07&amp;m=11&amp;entry=entry071114-053640</comments>
		</item>
		<item>
			<title>Using image resources in C#</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry071112-033516</link>
			<description><![CDATA[To use an image resource in a piece of code, do the following;<br />i) Add the resourec to the project so it gets bound into an assembly<br />ii) Mark the resource as per the diagram (if you don&#039;t say it&#039;s an embedded resource, the code won&#039;t find it)<br /><img src="images/vs_resources.jpg" width="280" height="206" border="0" alt="" /><br />iii) In your code, make reference like this;<br /><code><br /><span style='color:black;'><br />Assembly ass = Assembly.GetExecutingAssembly();<br />Bitmap picBMP = new Bitmap(ass.GetManifestResourceStream(&quot;PROJECTNAME.Graphics.notification.jpg&quot;));<br />Image img = Image.FromHbitmap(picBMP.GetHbitmap());<br />pb.Image = img;<br /></span><br /></code><br />The key part is<br /><code><br /><span style='color:black;'><br />GetManifestResourceStream(&quot;PROJECTNAME.Graphics.notification.jpg&quot;)<br /></span><br /></code><br />When you do this call, the argument you pass is made up of the assemblyname, followed by the resource name. In my example, I place all my resources in a project sub-directory called <code>Graphics</code>, which is why the resource name has that directory name pre-pended. <br /><br />In the last two lines, an <code>Image</code> instance is created from the resource and assigned to a <code>PictureBox</code> control on the form.<br /><span style='color:black;'><br />Image img = Image.FromHbitmap(picBMP.GetHbitmap());<br />pb.Image = img;<br /></span><br /></code>]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry071112-033516</guid>
			<author>No Author</author>
			<pubDate>Mon, 12 Nov 2007 09:35:16 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=07&amp;m=11&amp;entry=entry071112-033516</comments>
		</item>
		<item>
			<title>insertBefore in a DOM</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry071109-104804</link>
			<description><![CDATA[Useful reference for insertBefore <a href="http://www.robertbolton.com/javascript-tables-insertbefore" target="_blank" >here</a><br />The trick is this;<br /><br /><em>it turns out, you need to append and or insert to the tbody html element, instead of the table element.</em>]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry071109-104804</guid>
			<author>No Author</author>
			<pubDate>Fri, 09 Nov 2007 16:48:04 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=07&amp;m=11&amp;entry=entry071109-104804</comments>
		</item>
		<item>
			<title>Cursors in Java</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry071107-051417</link>
			<description><![CDATA[Useful to know ! <br /><br /><a href="http://www.catalysoft.com/articles/busyCursor.html" target="_blank" >http://www.catalysoft.com/articles/busyCursor.html</a><br /><code><br /><span style='color: black;'<br />try {<br />   component.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));<br />  doProcessing();<br />} finally {<br />  component.setCursor(Cursor.getDefaultCursor());<br />}<br /></span><br /><code>]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry071107-051417</guid>
			<author>No Author</author>
			<pubDate>Wed, 07 Nov 2007 11:14:17 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=07&amp;m=11&amp;entry=entry071107-051417</comments>
		</item>
		<item>
			<title>Setting file locations for test purposes in Eclipse</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry071101-045337</link>
			<description><![CDATA[Use variables like this to get a definite location for a directory when doing file based testing in eclipse, and using links to sourec folders as opposed to having folders in the same directory tree as your project file.<br /><img src="images/src_location_eclipse.jpg" width="498" height="112" border="0" alt="" />]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry071101-045337</guid>
			<author>No Author</author>
			<pubDate>Thu, 01 Nov 2007 09:53:37 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=07&amp;m=11&amp;entry=entry071101-045337</comments>
		</item>
		<item>
			<title>LookAndFeel in Java apps</title>
			<link>http://www.portly.net/sphpblog/index.php?entry=entry071029-104225</link>
			<description><![CDATA[Setting the LookAndFeel, remember to make these calls prior to instantiating any class that may use them ... <br /><br /><code>        <br /><span style='color: black'><br />        Utils.setUIFont(new FontUIResource(&quot;Tahoma&quot;, Font.PLAIN, 11));<br />        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());<br />        String name = UIManager.getSystemLookAndFeelClassName();<br /><br />        <br />        UIManager.setLookAndFeel(name);<br />JFrame frame = new JFrame(&quot;Title Bar Text&quot;);<br />        JFrame.setDefaultLookAndFeelDecorated(true);<br />        SimpleImpexForm sif = new SimpleImpexForm();<br />        <br />        System.out.println(&quot;Look &amp; Feel = &quot; + name);<br />		frame.setSize(256, 256);<br />		frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE);<br />		frame.getContentPane().add(sif);<br />		frame.pack();<br />	    frame.setVisible(true);<br /></span><br /></code><br /><br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.portly.net/sphpblog/index.php?entry=entry071029-104225</guid>
			<author>No Author</author>
			<pubDate>Mon, 29 Oct 2007 15:42:25 GMT</pubDate>
			<comments>http://www.portly.net/sphpblog/comments.php?y=07&amp;m=10&amp;entry=entry071029-104225</comments>
		</item>
	</channel>
</rss>
