<?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; Java</title>
	<atom:link href="http://www.landschoff.net/blog/category/java/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>Eclipse 3.5.1 mouse event problems with gtk &gt;= 2.18</title>
		<link>http://www.landschoff.net/blog/2010/01/eclipse-3-5-1-mouse-event-problems-with-gtk-2-18/</link>
		<comments>http://www.landschoff.net/blog/2010/01/eclipse-3-5-1-mouse-event-problems-with-gtk-2-18/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 11:59:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[gtk]]></category>

		<guid isPermaLink="false">http://www.landschoff.net/blog/?p=155</guid>
		<description><![CDATA[Recently, Eclipse started ignoring clicks on dialog buttons for me. This seems to be due to some changes in gtk 2.18. It does not use native windows for all widgets anymore, and SWT seems to rely on it.
Thanks to this blog post, I have this fix in my bashrc:
1alias eclipse=&#34;GDK_NATIVE_WINDOWS=true eclipse&#34;
The Debian bug tracker also [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, Eclipse started ignoring clicks on dialog buttons for me. This seems to be due to some changes in gtk 2.18. It does not use native windows for all widgets anymore, and SWT seems to rely on it.</p>
<p>Thanks to <a href="http://www.bernie.net.my/blog/2009/10/16/gtk2-2182-1-breaks-eclipse-351/">this blog post</a>, I have this fix in my bashrc:</p>
<div class="codecolorer-container bash mac-classic" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">eclipse</span>=<span style="color: #ff0000;">&quot;GDK_NATIVE_WINDOWS=true eclipse&quot;</span></div></td></tr></tbody></table></div>
<p>The Debian bug tracker also knows about <a href="http://bugs.debian.org/552480">this problem</a>, which is partly fixed for the eclipse packages. Bad luck that I am using a download from eclipse.org.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.landschoff.net/blog/2010/01/eclipse-3-5-1-mouse-event-problems-with-gtk-2-18/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
