<?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>Bluehorn's Blog &#187; Swing</title>
	<atom:link href="http://www.landschoff.net/blog/category/java/swing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.landschoff.net/blog</link>
	<description>Ramblings of Torsten Landschoff</description>
	<lastBuildDate>Thu, 08 Jul 2010 10:43:01 +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>Enforcing the aspect ratio of a Swing widget</title>
		<link>http://www.landschoff.net/blog/2009/03/enforcing-the-aspect-ratio-of-a-swing-widget/</link>
		<comments>http://www.landschoff.net/blog/2009/03/enforcing-the-aspect-ratio-of-a-swing-widget/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 23:33:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Swing]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=22</guid>
		<description><![CDATA[Sometimes, a widget only looks good at a given aspect ratio (movies, pictures, etc.).
I wrote a small Swing container for this task today, which you can find at my trac installation. There is also a small example program.
Usage boils down to using
parent.add(new AspectRatioContainer(4.0/3.0, widget)).
instead of just
parent.add(widget);
Perhaps this is of use to somebody.
]]></description>
			<content:encoded><![CDATA[<p>Sometimes, a widget only looks good at a given aspect ratio (movies, pictures, etc.).</p>
<p>I wrote a small Swing container for this task today, which you can find <a href="/trac/stuff/browser/java-aspect-ratio-container/net/landschoff/example/AspectRatioContainer.java?rev=7">at my trac installation</a>. There is also a small example program.</p>
<p>Usage boils down to using</p>
<pre>parent.add(new AspectRatioContainer(4.0/3.0, widget)).</pre>
<p>instead of just</p>
<pre>parent.add(widget);</pre>
<p>Perhaps this is of use to somebody.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2009/03/enforcing-the-aspect-ratio-of-a-swing-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
