<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Sexy Swing App &#8211; The Unified Toolbar (now fully draggable)</title>
	<atom:link href="http://explodingpixels.wordpress.com/2008/05/03/sexy-swing-app-the-unified-toolbar-now-fully-draggable/feed/" rel="self" type="application/rss+xml" />
	<link>http://explodingpixels.wordpress.com/2008/05/03/sexy-swing-app-the-unified-toolbar-now-fully-draggable/</link>
	<description>Exposing the pixels behind beautiful user interfaces</description>
	<lastBuildDate>Thu, 10 Dec 2009 16:18:30 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jeremy Wood</title>
		<link>http://explodingpixels.wordpress.com/2008/05/03/sexy-swing-app-the-unified-toolbar-now-fully-draggable/#comment-97</link>
		<dc:creator>Jeremy Wood</dc:creator>
		<pubDate>Thu, 03 Jul 2008 18:12:24 +0000</pubDate>
		<guid isPermaLink="false">http://explodingpixels.wordpress.com/?p=27#comment-97</guid>
		<description>Also it&#039;s my experience that you can add these listeners to one high-level container and all the dead space in that container becomes draggable.  (Meanwhile any individual component that consumes mouse events is not affected, so the window doesn&#039;t become &#039;hyperactive&#039;.)  :)</description>
		<content:encoded><![CDATA[<p>Also it&#8217;s my experience that you can add these listeners to one high-level container and all the dead space in that container becomes draggable.  (Meanwhile any individual component that consumes mouse events is not affected, so the window doesn&#8217;t become &#8216;hyperactive&#8217;.)  :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamison Hope</title>
		<link>http://explodingpixels.wordpress.com/2008/05/03/sexy-swing-app-the-unified-toolbar-now-fully-draggable/#comment-93</link>
		<dc:creator>Jamison Hope</dc:creator>
		<pubDate>Sat, 28 Jun 2008 15:22:30 +0000</pubDate>
		<guid isPermaLink="false">http://explodingpixels.wordpress.com/?p=27#comment-93</guid>
		<description>I remember that thread, but that was before I started messing with TN2196 stuff so I didn&#039;t follow it closely.

Anyhow, it&#039;s not just with Swing containers. If you have a JFrame with an AWT Canvas in the middle (like, say, a javax.media.j3d.Canvas3D on which you&#039;ve installed mouse handlers to control navigation in a 3D simulation), apple.awt.draggableWindowBackground still captures the mouse motion (and thereby kills the navigation). I did find that putting the Canvas inside of a ScrollPane prevents it, but then I had a 1- or 2-pixel border around the Canvas to deal with. Your solution lets me keep behavior orthogonal to appearance.

-Jamie</description>
		<content:encoded><![CDATA[<p>I remember that thread, but that was before I started messing with TN2196 stuff so I didn&#8217;t follow it closely.</p>
<p>Anyhow, it&#8217;s not just with Swing containers. If you have a JFrame with an AWT Canvas in the middle (like, say, a javax.media.j3d.Canvas3D on which you&#8217;ve installed mouse handlers to control navigation in a 3D simulation), apple.awt.draggableWindowBackground still captures the mouse motion (and thereby kills the navigation). I did find that putting the Canvas inside of a ScrollPane prevents it, but then I had a 1- or 2-pixel border around the Canvas to deal with. Your solution lets me keep behavior orthogonal to appearance.</p>
<p>-Jamie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://explodingpixels.wordpress.com/2008/05/03/sexy-swing-app-the-unified-toolbar-now-fully-draggable/#comment-91</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Sat, 28 Jun 2008 11:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://explodingpixels.wordpress.com/?p=27#comment-91</guid>
		<description>Hi Jamison,

Glad you&#039;ve found these posts useful. I&#039;ll look into the drag issue you mentioned. 

I&#039;ve found the apple.awt.draggableWindowBackground to be just about useless, as it lets you drag anything in the entire window in order to move it. I did bring this issue up on Java-dev (Apples Java mailing list), and Mike Swingler indicated that there were some problems with masking the window background (which indicate the draggle areas) and the Swing lightweight container hierarchy.

-Ken</description>
		<content:encoded><![CDATA[<p>Hi Jamison,</p>
<p>Glad you&#8217;ve found these posts useful. I&#8217;ll look into the drag issue you mentioned. </p>
<p>I&#8217;ve found the apple.awt.draggableWindowBackground to be just about useless, as it lets you drag anything in the entire window in order to move it. I did bring this issue up on Java-dev (Apples Java mailing list), and Mike Swingler indicated that there were some problems with masking the window background (which indicate the draggle areas) and the Swing lightweight container hierarchy.</p>
<p>-Ken</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamison Hope</title>
		<link>http://explodingpixels.wordpress.com/2008/05/03/sexy-swing-app-the-unified-toolbar-now-fully-draggable/#comment-89</link>
		<dc:creator>Jamison Hope</dc:creator>
		<pubDate>Sat, 28 Jun 2008 04:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://explodingpixels.wordpress.com/?p=27#comment-89</guid>
		<description>Thanks for these posts, they&#039;re very educational.

I have found a behavioral difference between your draggable toolbar and (the desirable part of) what you get with apple.awt.draggableWindowBackground: if you have Spaces enabled and you drag to the edge of the screen, this version just stops, whereas apple.awt.draggableWindowBackground does the expected thing and moves the window onto the next Space.

All in all, a small price to pay for less hyperactive dragging.</description>
		<content:encoded><![CDATA[<p>Thanks for these posts, they&#8217;re very educational.</p>
<p>I have found a behavioral difference between your draggable toolbar and (the desirable part of) what you get with apple.awt.draggableWindowBackground: if you have Spaces enabled and you drag to the edge of the screen, this version just stops, whereas apple.awt.draggableWindowBackground does the expected thing and moves the window onto the next Space.</p>
<p>All in all, a small price to pay for less hyperactive dragging.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
