<?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/"
		>
<channel>
	<title>Comments on: Slides from JavaOne 2008: Filthier, Richer, Clientier</title>
	<atom:link href="http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 09:31:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Thomas Boerkel</title>
		<link>http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/comment-page-1/#comment-2071</link>
		<dc:creator>Thomas Boerkel</dc:creator>
		<pubDate>Mon, 02 Jun 2008 13:12:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/#comment-2071</guid>
		<description>HI!
This is already being discussed here:
http://forums.java.net/jive/thread.jspa?threadID=35934
Thomas</description>
		<content:encoded><![CDATA[<p>HI!<br />
This is already being discussed here:<br />
<a href="http://forums.java.net/jive/thread.jspa?threadID=35934" rel="nofollow">http://forums.java.net/jive/thread.jspa?threadID=35934</a><br />
Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Boerkel</title>
		<link>http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/comment-page-1/#comment-2070</link>
		<dc:creator>Thomas Boerkel</dc:creator>
		<pubDate>Mon, 02 Jun 2008 10:43:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/#comment-2070</guid>
		<description>HI!
I can reproduce the leak in a small test program. But it seems, it only happens with Window Look&amp;Feel. Any ideas?
Thomas</description>
		<content:encoded><![CDATA[<p>HI!<br />
I can reproduce the leak in a small test program. But it seems, it only happens with Window Look&amp;Feel. Any ideas?<br />
Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Boerkel</title>
		<link>http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/comment-page-1/#comment-2069</link>
		<dc:creator>Thomas Boerkel</dc:creator>
		<pubDate>Sun, 01 Jun 2008 00:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/#comment-2069</guid>
		<description>HI!
I got the stopping working reliable now. But I think there is a memory leak. After doing some transitions, I got lots of short[] in memory, occupying &gt;20MB that are not being freed by GC. Looking at the heap dump, they are being held by ScreenTransition, OffScreenImage, WinCachingSurfaceManager and other classes that sound like the Animation library.
If I do not use animations, then my heap ends up much smaller.
I set my Animation object reference to null after the animation (in the end() method of the TimingTarget), so I should not hold any references.
Any ideas?
Thanks!
Thomas</description>
		<content:encoded><![CDATA[<p>HI!<br />
I got the stopping working reliable now. But I think there is a memory leak. After doing some transitions, I got lots of short[] in memory, occupying &gt;20MB that are not being freed by GC. Looking at the heap dump, they are being held by ScreenTransition, OffScreenImage, WinCachingSurfaceManager and other classes that sound like the Animation library.<br />
If I do not use animations, then my heap ends up much smaller.<br />
I set my Animation object reference to null after the animation (in the end() method of the TimingTarget), so I should not hold any references.<br />
Any ideas?<br />
Thanks!<br />
Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chet</title>
		<link>http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/comment-page-1/#comment-2066</link>
		<dc:creator>Chet</dc:creator>
		<pubDate>Thu, 29 May 2008 15:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/#comment-2066</guid>
		<description>Thomas,

stop() works. So does cancel() (which stops the animation in its tracks, without sending out an end event).

I believe the tab artifact is because a tabbed pane just fakes separate components for each tab. They&#039;re all just in the same container; the tabs are just like buttons that change the drawing in that single component.

As to the glass pane error you&#039;re getting, I don&#039;t know off-hand; I&#039;d have to debug the situation (which unfortunately isn&#039;t possible, as I&#039;m pretty busy working on pretty unrelated stuff at the moment). Hopefully, between the ability to insert yourself in the animation process, to debug the source code, and to change the code to your heart&#039;s content, you can make it do what you need it to.

Chet.</description>
		<content:encoded><![CDATA[<p>Thomas,</p>
<p>stop() works. So does cancel() (which stops the animation in its tracks, without sending out an end event).</p>
<p>I believe the tab artifact is because a tabbed pane just fakes separate components for each tab. They&#8217;re all just in the same container; the tabs are just like buttons that change the drawing in that single component.</p>
<p>As to the glass pane error you&#8217;re getting, I don&#8217;t know off-hand; I&#8217;d have to debug the situation (which unfortunately isn&#8217;t possible, as I&#8217;m pretty busy working on pretty unrelated stuff at the moment). Hopefully, between the ability to insert yourself in the animation process, to debug the source code, and to change the code to your heart&#8217;s content, you can make it do what you need it to.</p>
<p>Chet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Boerkel</title>
		<link>http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/comment-page-1/#comment-2065</link>
		<dc:creator>Thomas Boerkel</dc:creator>
		<pubDate>Thu, 29 May 2008 08:24:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/#comment-2065</guid>
		<description>HI!
OK, stop() stops the Animation. But I get sometimes:
Exception in thread &quot;AWT-EventQueue-0&quot; java.lang.NullPointerException: glassPane cannot be set to null.
        at javax.swing.JRootPane.setGlassPane(JRootPane.java:671)
        at org.jdesktop.animation.transitions.ScreenTransition$1.end(ScreenTransition.java:388)
        at org.jdesktop.animation.timing.Animator.end(Animator.java:755)
        at org.jdesktop.animation.timing.Animator.stop(Animator.java:660)

Thomas</description>
		<content:encoded><![CDATA[<p>HI!<br />
OK, stop() stops the Animation. But I get sometimes:<br />
Exception in thread &#8220;AWT-EventQueue-0&#8243; java.lang.NullPointerException: glassPane cannot be set to null.<br />
        at javax.swing.JRootPane.setGlassPane(JRootPane.java:671)<br />
        at org.jdesktop.animation.transitions.ScreenTransition$1.end(ScreenTransition.java:388)<br />
        at org.jdesktop.animation.timing.Animator.end(Animator.java:755)<br />
        at org.jdesktop.animation.timing.Animator.stop(Animator.java:660)</p>
<p>Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Boerkel</title>
		<link>http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/comment-page-1/#comment-2064</link>
		<dc:creator>Thomas Boerkel</dc:creator>
		<pubDate>Thu, 29 May 2008 07:07:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/#comment-2064</guid>
		<description>HI!
One more question about the rendering: I thought, the transition is being rendered into the target container. But when I switch to another tab, the previous tab container is not visible anymore. So, why is the rendering then visible?
Thomas</description>
		<content:encoded><![CDATA[<p>HI!<br />
One more question about the rendering: I thought, the transition is being rendered into the target container. But when I switch to another tab, the previous tab container is not visible anymore. So, why is the rendering then visible?<br />
Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Boerkel</title>
		<link>http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/comment-page-1/#comment-2063</link>
		<dc:creator>Thomas Boerkel</dc:creator>
		<pubDate>Thu, 29 May 2008 06:58:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/#comment-2063</guid>
		<description>HI!
Thanks for the quick answer. But how do I stop the animation? :-)
Thomas</description>
		<content:encoded><![CDATA[<p>HI!<br />
Thanks for the quick answer. But how do I stop the animation? :-)<br />
Thomas</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chet</title>
		<link>http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/comment-page-1/#comment-2062</link>
		<dc:creator>Chet</dc:creator>
		<pubDate>Wed, 28 May 2008 16:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/#comment-2062</guid>
		<description>Thomas,

There are definitely limitations to the animtrans library. The problem you&#039;re running into here is that the transition is happening in the same container where tabbed components are being swapped around. The transition doesn&#039;t know anything about the individual tabs that are being changed out from under it - it&#039;s just running an animation when it&#039;s told to.

I think the best fix here, other than building more capabilities into the library, which probably won&#039;t happen anytime soon, would be for you to detect the change and to stop the transition when it happens.

Chet.</description>
		<content:encoded><![CDATA[<p>Thomas,</p>
<p>There are definitely limitations to the animtrans library. The problem you&#8217;re running into here is that the transition is happening in the same container where tabbed components are being swapped around. The transition doesn&#8217;t know anything about the individual tabs that are being changed out from under it &#8211; it&#8217;s just running an animation when it&#8217;s told to.</p>
<p>I think the best fix here, other than building more capabilities into the library, which probably won&#8217;t happen anytime soon, would be for you to detect the change and to stop the transition when it happens.</p>
<p>Chet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Boerkel</title>
		<link>http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/comment-page-1/#comment-2061</link>
		<dc:creator>Thomas Boerkel</dc:creator>
		<pubDate>Wed, 28 May 2008 05:41:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/#comment-2061</guid>
		<description>I am having a problem with the AnimatedTransitions library of the book, maybe you have a hint for me.
I have a JTabbedPane and I&#039;d like to animate the content of one tab (basically exchanging the content completely, which is a JPanel). There are nasty drawing effects if the user switches to another tab while the anim is being prepared or rendered (fade effect). The library then renders the content from the other tab into the tab that the user just switched to. Is this a known limitation or is there a way around it? Thanks!</description>
		<content:encoded><![CDATA[<p>I am having a problem with the AnimatedTransitions library of the book, maybe you have a hint for me.<br />
I have a JTabbedPane and I&#8217;d like to animate the content of one tab (basically exchanging the content completely, which is a JPanel). There are nasty drawing effects if the user switches to another tab while the anim is being prepared or rendered (fade effect). The library then renders the content from the other tab into the tab that the user just switched to. Is this a known limitation or is there a way around it? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shu</title>
		<link>http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/comment-page-1/#comment-2056</link>
		<dc:creator>Shu</dc:creator>
		<pubDate>Thu, 15 May 2008 19:13:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.curious-creature.org/2008/05/14/slides-from-javaone-2008-filthier-richer-clientier/#comment-2056</guid>
		<description>Sounds like a funebre walk for Swing/Java2D.
Where does this leave us in terms of Java2D &amp; Swing at Sun now that Chet has left Sun?</description>
		<content:encoded><![CDATA[<p>Sounds like a funebre walk for Swing/Java2D.<br />
Where does this leave us in terms of Java2D &amp; Swing at Sun now that Chet has left Sun?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

