<?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: Java Media Player &#8211; Final Chapter?</title>
	<atom:link href="http://www.miginfocom.com/blog/?feed=rss2&#038;p=30" rel="self" type="application/rss+xml" />
	<link>http://www.miginfocom.com/blog/?p=30</link>
	<description>Creating Applications in Java</description>
	<lastBuildDate>Thu, 20 May 2010 08:08:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: hazysob</title>
		<link>http://www.miginfocom.com/blog/?p=30&#038;cpage=1#comment-163</link>
		<dc:creator>hazysob</dc:creator>
		<pubDate>Wed, 26 Aug 2009 13:25:27 +0000</pubDate>
		<guid isPermaLink="false">http://miginfocom.com/blog/?p=30#comment-163</guid>
		<description>&lt;strong&gt;hazysob...&lt;/strong&gt;

 &lt;a href=&quot;http://namelindablog.info/phim-hong-kong-online/&quot; rel=&quot;nofollow&quot;&gt;Phim Hong Kong Online&lt;/a&gt; ...</description>
		<content:encoded><![CDATA[<p><strong>hazysob&#8230;</strong></p>
<p> <a href="http://namelindablog.info/phim-hong-kong-online/" rel="nofollow">Phim Hong Kong Online</a> &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sotamujopiz</title>
		<link>http://www.miginfocom.com/blog/?p=30&#038;cpage=1#comment-162</link>
		<dc:creator>sotamujopiz</dc:creator>
		<pubDate>Tue, 25 Aug 2009 03:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://miginfocom.com/blog/?p=30#comment-162</guid>
		<description>&lt;strong&gt;sotamujopiz...&lt;/strong&gt;

 &lt;a href=&quot;http://namelindablog.info/nurse-aide-registry-texas-renew/&quot; rel=&quot;nofollow&quot;&gt;Nurse Aide Registry Texas Renew&lt;/a&gt; ...</description>
		<content:encoded><![CDATA[<p><strong>sotamujopiz&#8230;</strong></p>
<p> <a href="http://namelindablog.info/nurse-aide-registry-texas-renew/" rel="nofollow">Nurse Aide Registry Texas Renew</a> &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Creative Creations &#187; Blog Archive &#187; Java Media Player - First GUI Demo</title>
		<link>http://www.miginfocom.com/blog/?p=30&#038;cpage=1#comment-92</link>
		<dc:creator>Creative Creations &#187; Blog Archive &#187; Java Media Player - First GUI Demo</dc:creator>
		<pubDate>Wed, 19 Nov 2008 22:15:43 +0000</pubDate>
		<guid isPermaLink="false">http://miginfocom.com/blog/?p=30#comment-92</guid>
		<description>[...] performance problem I reported in the last blog is all but gone. It&#8217;s not like the problem has been solved from Java&#8217;s side, I have [...]</description>
		<content:encoded><![CDATA[<p>[...] performance problem I reported in the last blog is all but gone. It&#8217;s not like the problem has been solved from Java&#8217;s side, I have [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HFernandes</title>
		<link>http://www.miginfocom.com/blog/?p=30&#038;cpage=1#comment-79</link>
		<dc:creator>HFernandes</dc:creator>
		<pubDate>Mon, 10 Nov 2008 12:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://miginfocom.com/blog/?p=30#comment-79</guid>
		<description>Well, I always thought that com.sun.awt.AWTUtilities.setWindowOpaque(window, false) lack of performance was a bug! Thank you for showing that to Sun engineers.
Just add 100 buttons to a JFrame and then set the frame window translucent. Then try with Nimbus LAF and compare to Substance. The results are curious.

About your Media Player - I hope this is not your final Chapter! Good work.</description>
		<content:encoded><![CDATA[<p>Well, I always thought that com.sun.awt.AWTUtilities.setWindowOpaque(window, false) lack of performance was a bug! Thank you for showing that to Sun engineers.<br />
Just add 100 buttons to a JFrame and then set the frame window translucent. Then try with Nimbus LAF and compare to Substance. The results are curious.</p>
<p>About your Media Player &#8211; I hope this is not your final Chapter! Good work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Achaiah</title>
		<link>http://www.miginfocom.com/blog/?p=30&#038;cpage=1#comment-76</link>
		<dc:creator>Achaiah</dc:creator>
		<pubDate>Thu, 06 Nov 2008 22:54:33 +0000</pubDate>
		<guid isPermaLink="false">http://miginfocom.com/blog/?p=30#comment-76</guid>
		<description>Mikael,

Have you looked at JXLayer from swinglabs.org?  I don&#039;t know if it will do the trick you want but it&#039;s another thing to look at.  Perhaps you could &quot;fake&quot; the current look by making a larger window with transparent sides until someone wants to pull out a sidebar which could be a JPanel resting underneath the main JPanel?  You could use some custom painting to place a shadow on the sidebar.  Just thinking out loud... :)

Also, way back when, I experimented with SWT to get some transparent windows of various shapes and it seemed to work OK.  It was buggy but I imagine they&#039;ve improved it since then.

Btw.. I&#039;m really impressed with the carousel look/functionality.  Any way we can see the code?</description>
		<content:encoded><![CDATA[<p>Mikael,</p>
<p>Have you looked at JXLayer from swinglabs.org?  I don&#8217;t know if it will do the trick you want but it&#8217;s another thing to look at.  Perhaps you could &#8220;fake&#8221; the current look by making a larger window with transparent sides until someone wants to pull out a sidebar which could be a JPanel resting underneath the main JPanel?  You could use some custom painting to place a shadow on the sidebar.  Just thinking out loud&#8230; <img src='http://www.miginfocom.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Also, way back when, I experimented with SWT to get some transparent windows of various shapes and it seemed to work OK.  It was buggy but I imagine they&#8217;ve improved it since then.</p>
<p>Btw.. I&#8217;m really impressed with the carousel look/functionality.  Any way we can see the code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike P</title>
		<link>http://www.miginfocom.com/blog/?p=30&#038;cpage=1#comment-75</link>
		<dc:creator>Mike P</dc:creator>
		<pubDate>Wed, 05 Nov 2008 16:50:04 +0000</pubDate>
		<guid isPermaLink="false">http://miginfocom.com/blog/?p=30#comment-75</guid>
		<description>Mikael, I do agree that SWT is smaller of an install base.  I primarily use Swing, though every once in a while I revisit SWT to see how it has progressed.  I have to admit, the Browser widget is great and I wish we had something similar to it as part of Swing..</description>
		<content:encoded><![CDATA[<p>Mikael, I do agree that SWT is smaller of an install base.  I primarily use Swing, though every once in a while I revisit SWT to see how it has progressed.  I have to admit, the Browser widget is great and I wish we had something similar to it as part of Swing..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikael Grev</title>
		<link>http://www.miginfocom.com/blog/?p=30&#038;cpage=1#comment-74</link>
		<dc:creator>Mikael Grev</dc:creator>
		<pubDate>Wed, 05 Nov 2008 12:46:45 +0000</pubDate>
		<guid isPermaLink="false">http://miginfocom.com/blog/?p=30#comment-74</guid>
		<description>Mike, Swt is fine, though I don&#039;t see any advantages compared to Swing today. There has been in the past, but not now. Unless you have specific needs of course.

There are those that want MiG Calendar for SWT. Though the effort to port it would not outweigh the costs since SWT is so much &quot;smaller&quot; than Swing..</description>
		<content:encoded><![CDATA[<p>Mike, Swt is fine, though I don&#8217;t see any advantages compared to Swing today. There has been in the past, but not now. Unless you have specific needs of course.</p>
<p>There are those that want MiG Calendar for SWT. Though the effort to port it would not outweigh the costs since SWT is so much &#8220;smaller&#8221; than Swing..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike P</title>
		<link>http://www.miginfocom.com/blog/?p=30&#038;cpage=1#comment-72</link>
		<dc:creator>Mike P</dc:creator>
		<pubDate>Wed, 05 Nov 2008 01:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://miginfocom.com/blog/?p=30#comment-72</guid>
		<description>Mikael

But, would SWT provide anything that might allow you to create a GUI, perhaps not as you originally had planned, but something still providing a rich application experience?  I believe there are some graphics capabilities, although not as robust as Java2D.  (I&#039;m not overly familiar with SWT, but it is an interesting idea to try to create the GUI with it to see how it compares)

On an unrelated note, I thought I read once that you were going to port MiG Calendar to SWT (it was a while ago that I thought I read that someplace..and I might be mistaken)</description>
		<content:encoded><![CDATA[<p>Mikael</p>
<p>But, would SWT provide anything that might allow you to create a GUI, perhaps not as you originally had planned, but something still providing a rich application experience?  I believe there are some graphics capabilities, although not as robust as Java2D.  (I&#8217;m not overly familiar with SWT, but it is an interesting idea to try to create the GUI with it to see how it compares)</p>
<p>On an unrelated note, I thought I read once that you were going to port MiG Calendar to SWT (it was a while ago that I thought I read that someplace..and I might be mistaken)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitri Trembovetski</title>
		<link>http://www.miginfocom.com/blog/?p=30&#038;cpage=1#comment-71</link>
		<dc:creator>Dmitri Trembovetski</dc:creator>
		<pubDate>Tue, 04 Nov 2008 06:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://miginfocom.com/blog/?p=30#comment-71</guid>
		<description>Just to clarify - the slowness _is_ because of the way per-pixel translucency API on Windows platform (aka layered windows) works. 

As you said yourself, the Java2D rendering itself takes very small amount of time so it really doesn&#039;t matter if you repaint a single pixel or your whole frame.

But because of the way layered windows are on Windows we must upload the whole buffer every time. This is what kills performance.

So even if we did use the &#039;normal&#039; Swing backbuffer instead of a fake one we use for enabling translucency support we would still have to upload it all on every repaint.

For those suggesting JNA - save your time, they use exactly the same native API as AWT for enabling translucent windows. There&#039;s no magic there.

I would also suggest trying on a few more systems - at least more than the single box you apparently have.

Dmitri
Java2D Team</description>
		<content:encoded><![CDATA[<p>Just to clarify &#8211; the slowness _is_ because of the way per-pixel translucency API on Windows platform (aka layered windows) works. </p>
<p>As you said yourself, the Java2D rendering itself takes very small amount of time so it really doesn&#8217;t matter if you repaint a single pixel or your whole frame.</p>
<p>But because of the way layered windows are on Windows we must upload the whole buffer every time. This is what kills performance.</p>
<p>So even if we did use the &#8216;normal&#8217; Swing backbuffer instead of a fake one we use for enabling translucency support we would still have to upload it all on every repaint.</p>
<p>For those suggesting JNA &#8211; save your time, they use exactly the same native API as AWT for enabling translucent windows. There&#8217;s no magic there.</p>
<p>I would also suggest trying on a few more systems &#8211; at least more than the single box you apparently have.</p>
<p>Dmitri<br />
Java2D Team</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikael Grev</title>
		<link>http://www.miginfocom.com/blog/?p=30&#038;cpage=1#comment-69</link>
		<dc:creator>Mikael Grev</dc:creator>
		<pubDate>Mon, 03 Nov 2008 21:30:08 +0000</pubDate>
		<guid isPermaLink="false">http://miginfocom.com/blog/?p=30#comment-69</guid>
		<description>not!an!exit,

The window rendering, if you are talking window decorations, are always drawn by the OS, even is Swing. So there&#039;s no difference there. I don&#039;t use the windows decorations though, as I provide my own.

The &quot;only&quot; thing SWT is faster at is rendering the widgets. That, and it has a cleaner API, mostly since it was created with a more minimalistic goal and because it is newer. SWT&#039;s API is lean and mean, though it is missing some of the flexibility that Swing has.

Unless you want very specific stuff from SWT, like a 100% accurate file chooser, I would not use it. I like it, but Swing, which is provided by the JDK, carries no extra weight and it is fast enough.</description>
		<content:encoded><![CDATA[<p>not!an!exit,</p>
<p>The window rendering, if you are talking window decorations, are always drawn by the OS, even is Swing. So there&#8217;s no difference there. I don&#8217;t use the windows decorations though, as I provide my own.</p>
<p>The &#8220;only&#8221; thing SWT is faster at is rendering the widgets. That, and it has a cleaner API, mostly since it was created with a more minimalistic goal and because it is newer. SWT&#8217;s API is lean and mean, though it is missing some of the flexibility that Swing has.</p>
<p>Unless you want very specific stuff from SWT, like a 100% accurate file chooser, I would not use it. I like it, but Swing, which is provided by the JDK, carries no extra weight and it is fast enough.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
