<?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>Lauren Gemmell &#187; Personal Dev</title>
	<atom:link href="http://www.laurengemmell.com/category/personal-dev/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.laurengemmell.com</link>
	<description>More of a geek each day...</description>
	<lastBuildDate>Sun, 08 Jan 2012 14:02:30 +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>Update: JTunesTable</title>
		<link>http://www.laurengemmell.com/2007/06/30/update-jtunestable/</link>
		<comments>http://www.laurengemmell.com/2007/06/30/update-jtunestable/#comments</comments>
		<pubDate>Sat, 30 Jun 2007 16:53:29 +0000</pubDate>
		<dc:creator>Lauren</dc:creator>
				<category><![CDATA[Personal Dev]]></category>

		<guid isPermaLink="false">http://www.laurendempster.com/2007/06/30/update-jtunestable/</guid>
		<description><![CDATA[There are a few changes to the source code for JTunesTable, setModel() now works &#8211; thanks to KJD. There is also the changes to the performance of the drawing code &#8211; thanks to Mats. Thanks to all that have been &#8230; <a href="http://www.laurengemmell.com/2007/06/30/update-jtunestable/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are a few changes to the source code for <a href="http://www.laurendempster.com/java-source-code/">JTunesTable</a>, setModel() now works &#8211; thanks to KJD. </p>
<p>There is also the changes to the performance of the drawing code &#8211; thanks to Mats. </p>
<p>Thanks to all that have been using it so far, and helping me make it better!!</p>
<p>Laurenxx</p>
]]></content:encoded>
			<wfw:commentRss>http://www.laurengemmell.com/2007/06/30/update-jtunestable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swing Defaults</title>
		<link>http://www.laurengemmell.com/2007/02/23/swing-defaults/</link>
		<comments>http://www.laurengemmell.com/2007/02/23/swing-defaults/#comments</comments>
		<pubDate>Fri, 23 Feb 2007 21:09:15 +0000</pubDate>
		<dc:creator>Lauren</dc:creator>
				<category><![CDATA[Personal Dev]]></category>

		<guid isPermaLink="false">http://www.laurendempster.com/2007/02/23/swing-defaults/</guid>
		<description><![CDATA[So I have been working on another Java Swing component this week, this time a subclass of JButton. I&#8217;ve had a surprising amount of problems with it, mostly because of the strange defaults that Java Swing sets. For example why &#8230; <a href="http://www.laurengemmell.com/2007/02/23/swing-defaults/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I have been working on another Java Swing component this week, this time a subclass of JButton. I&#8217;ve had a surprising amount of problems with it, mostly because of the strange defaults that Java Swing sets.<br />
<span id="more-52"></span><br />
For example why when you subclass JButton is the default size 1 by 1? Why when you set the size of said subclass of JButton does it not use the value set by <code>.setSize()</code> in preference to the 1 by 1 default. <em>You mean you don&#8217;t want a button of 1 by 1 size? Why ever not?&#8230;</em></p>
<p>Why do I have to test all of the JButton size methods <code>.setSize() .setMinimumSize() .setMaximumSize()</code> to find out that the only one that makes any difference to the actual visual <em>size</em> of the JButton is <code>.setPrefferedSize()</code>? Is it just me or does having preferred in the method title not suggest that this value may or may not be used, it certainly gives <em>me</em> no inclination that this is the <em>only</em> method which will make my button visible.</p>
<p>My second gripe with the defaults was actually caused by defaults set by the Apple Look &#038; Feel. I noticed by pure chance when debugging that my paint method in ButtonUI was getting called, like, all the time. </p>
<p>Thanks to Apple, and in a way I am actually being non-sarcastic, their L&#038;F gives a &#8220;default capable&#8221; button periodic events to repaint. In this way you get calls which allow you to create a button that <em>pulsates</em>. It&#8217;s fantastic that Apple has given this capability for free, saving anyone who wants a pulsating button from spawning another thread to send the periodic repaint messages, and all the joys that come with handling your own threads in Java. </p>
<p>However how often does one actually want a pulsating button?</p>
<p>I put it to you that it is way more probable that someone wants to create a button that does very little by the way of custom drawing, and actually just wants button functionality that doesn&#8217;t hideously cripple any application that uses it. </p>
<p>So fantastic functionality, but can anyone tell me why <code>setDefaultCapable()</code> isn&#8217;t set false by default?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.laurengemmell.com/2007/02/23/swing-defaults/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>iTunes Style JTable</title>
		<link>http://www.laurengemmell.com/2007/02/06/itunes-style-jtable/</link>
		<comments>http://www.laurengemmell.com/2007/02/06/itunes-style-jtable/#comments</comments>
		<pubDate>Tue, 06 Feb 2007 22:31:38 +0000</pubDate>
		<dc:creator>Lauren</dc:creator>
				<category><![CDATA[Personal Dev]]></category>

		<guid isPermaLink="false">http://www.laurendempster.com/2007/02/06/itunes-style-jtable/</guid>
		<description><![CDATA[Last week I mentioned I had been working on a custom JTable class for Java that looks like iTunes 7. I&#8217;ve finally got my act together to clean up the code and write some javadoc so that other people might &#8230; <a href="http://www.laurengemmell.com/2007/02/06/itunes-style-jtable/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last week I mentioned I had been working on a custom JTable class for Java that looks like iTunes 7. I&#8217;ve finally got my act together to clean up the code and write some javadoc so that other people might be able to use it.<br />
<span id="more-49"></span><br />
It&#8217;s really simple to use, just instantiate JTunesTable instead of JTable (after downloading the jar), and you can use this style of table in your apps! Failing that if you are looking at creating your own style of JTable this may be a good example to use, it looks at renderering cells and headers, selection models and many other of java SWINGs magic components.</p>
<p>Here you can see the difference between <a href="http://www.laurendempster.com/images/jtunestable.png">JTunesTable</a> and <a href="http://www.laurendempster.com/images/jtable.png">JTable</a>, maybe I&#8217;m biased &#8211; but mine looks so much better! </p>
<p>If you find this source code useful or have any hints on how to make it better feel free to leave me a comment.</p>
<p>You can download JTunesTable from <a href="http://www.laurendempster.com/source/jtunestable.jar">here</a> or look at my other <a href="http://www.laurendempster.com/java-source-code/">source code</a>.</p>
<p>Happy SWINGing <img src='http://www.laurendempster.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Lauren</p>
<p>UPDATE: I have now updated the JTunesTable classes, to fix rendering issues when repainting on Windows. It should now rendering just as well, in appearance at least, on Windows and MacOSX. </p>
<p>UPDATE: For those wishing to know how to use a jar in Eclipse. Right click on your current project, select &#8220;Build Path&#8230;&#8221; from the menu, then select &#8220;Add External Archives&#8230;&#8221;. You should then be given a file browser, browse to the jar you wish to add and select it. Press Ok. Hey presto you should get the shiny goodness of JTunesTable on ctrl+space!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.laurengemmell.com/2007/02/06/itunes-style-jtable/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>His and Hers</title>
		<link>http://www.laurengemmell.com/2007/01/30/his-and-hers/</link>
		<comments>http://www.laurengemmell.com/2007/01/30/his-and-hers/#comments</comments>
		<pubDate>Tue, 30 Jan 2007 22:19:46 +0000</pubDate>
		<dc:creator>Lauren</dc:creator>
				<category><![CDATA[Personal Dev]]></category>

		<guid isPermaLink="false">http://www.laurendempster.com/2007/01/30/his-and-hers/</guid>
		<description><![CDATA[Well its been a while, I can&#8217;t believe I have been working on iTunesPlayCountCopier(working title) for this long! The progress I&#8217;ve had is really quite amazing for my first project, however my main sticking point has been the ui. I &#8230; <a href="http://www.laurengemmell.com/2007/01/30/his-and-hers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well its been a while, I can&#8217;t believe I have been working on iTunesPlayCountCopier(working title) for this long!</p>
<p>The progress I&#8217;ve had is really quite amazing for my first project, however my main sticking point has been the ui. I won&#8217;t lie, I did a massive refactoring of my code just so I could feel like I had made some progress after weeks of trying to get a JTree to display the way I wanted it to.</p>
<p>My problem being that after working on a Mac for the past 6 months and creating an app based on iTunes data, Java&#8217;s user interface just didn&#8217;t look as good as I wanted it to. So I decided to write my own Java table view to fix this problem, unsurprisingly named JTunesTable.</p>
<p>Finally I&#8217;ve turned a corner with Java SWING. I&#8217;ve made it do something <i>pretty</i> and I&#8217;m dead proud of it <img src='http://www.laurendempster.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>So in true <a href="http://www.mattgemmell.com">Matt Gemmell</a> stylee I am going to release the source for all to take a look at, use and comment on, some time in the next week or so.</p>
<p>In the mean time here&#8217;s a screenshot of<br />
<a href="/images/jtunestable.png">JTunesTable</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.laurengemmell.com/2007/01/30/his-and-hers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing Dev Skills</title>
		<link>http://www.laurengemmell.com/2006/10/10/developing-dev-skills/</link>
		<comments>http://www.laurengemmell.com/2006/10/10/developing-dev-skills/#comments</comments>
		<pubDate>Tue, 10 Oct 2006 21:38:58 +0000</pubDate>
		<dc:creator>Lauren</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Personal Dev]]></category>

		<guid isPermaLink="false">http://www.laurendempster.com/2006/10/10/developing-dev-skills/</guid>
		<description><![CDATA[Hey folks, I guess I won&#8217;t bother giving a huge update on all the stuff that has happened between May (my last post) and now. The basics are that I graduated, moved to Edinburgh and have started working. All in &#8230; <a href="http://www.laurengemmell.com/2006/10/10/developing-dev-skills/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hey folks, I guess I won&#8217;t bother giving a huge update on all the stuff that has happened between May (my last post) and now. The basics are that I graduated, moved to Edinburgh and have started <a href="http://www.amazon.com">working</a>. <img src='http://www.laurendempster.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<span id="more-47"></span><br />
All in all everything is great with me, but while Matt has been working away on his own stuff for a while now, I&#8217;ve been left feeling I don&#8217;t have a lot to do. Obviously I have still been playing &#8220;Animal Crossing&#8221; (it&#8217;s the Acorn Festival this week!!) and I have been doing a bit of reading &#8220;The Boleyn Inheritance&#8221; by Philipa Gregory. I strongly urge anyone who likes historical novels to give Gregory a try &#8211; however with one warning, don&#8217;t start with &#8220;The Boleyn Inheritance&#8221; it&#8217;s definitely not the best book she&#8217;s written. &#8220;The Other Boleyn Girl&#8221; is a prequel written about Anne Boleyn and (her lesser-known sister) Mary&#8217;s rise and fall in the court of Henry the 6th, it is a much much better written book and is such a heart wrenching tale. I would also read it before the film comes out, starring Natalie Portman and Scarlett Johanson.</p>
<p>Also just remembered went to the last McFly concert last week through in Glasgow, which was also not as good as previous concerts, but good all the same. Watch out for &#8220;Star Girl&#8221; it unfortunately gets stuck in your head!!!</p>
<p>Anyway back to my lack of things to do, because I am working but still have a fair amount of time on my hands has really given me time to think about the sort of stuff I want to develop for myself. Its something I have never spent time on myself, I have <b>never</b> written a piece of code that wasn&#8217;t for an assignment, for a grade on a piece of paper. Although I don&#8217;t think is particularly a problem for me, how much could it hurt to try? I spent a bit of time thinking about what I could do. </p>
<ul>
<li>I could spend the time improving this website, but what for? I barely ever write posts! As you may have noticed&#8230;</li>
<li>I could do nothing in particular but write code that helps me learn the new technologies at work</li>
</ul>
<p>But all that to me sounds a little pointless, I know I would never do something unless I had something personal invested in it. I finally started with an idea I&#8217;ve had since I first got my iBook back in May. </p>
<p>When I converted to the Mac I lost a few things that I do actually miss, the biggest of which being my iTunes play count. </p>
<p>I guess this will need some explaining, ever since I have had a digital music player, the first being Windows Media Player. I have always been a big fan of keeping track of what my fave tunes were, based on the undisputable facts of a play count. I used to spend hours (this is unfortunately true) rearranging the tracks in my fave playlists <b>manually</b> so that the tracks were in order of highest play count. </p>
<p>One of the main reasons I switched to iTunes was the fact that by a single click I could reorder any playlist by play count order. However by switching my digital music player to iTunes on Windows I lost all that precious play count information &#8211; years of work!!!! </p>
<p>In May when I transferred my music collection from iTunes (Windows) to iTunes (Mac) I was dismayed that again I had lost all this information. It seems to me that this problem doesn&#8217;t need to be a problem at all, as I can write code that solves this myself!</p>
<p>It is this problem that I aim to solve. The ability to transfer play count data between the two platforms of iTunes. </p>
<p>If there is an already an easy way to solve this then feel free to post a comment and let me know, but to me this is a great project that I will work on irregardless. Making a wee bit of progress each day makes me feel, so far, that I haven&#8217;t wasted my non working hours. </p>
<p>Maybe one day when I finish this project I&#8217;ll put up and let folks look at it. Decided that the nature of the idea, being a port of content between Windows and Mac, that I would do it in Java and make it a bit more generic.</p>
<p>See you around folks, for once I make no apologies about the geek content of my post&#8230;</p>
<p>Lauren xx</p>
]]></content:encoded>
			<wfw:commentRss>http://www.laurengemmell.com/2006/10/10/developing-dev-skills/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

