<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Weiqi Gao&#039;s Observations - swing tag</title>
  <link>http://www.weiqigao.com/blog/tags/swing/</link>
  <description>Sharing My Experience...</description>
  <language>en</language>
  <copyright>Weiqi Gao</copyright>
  <lastBuildDate>Fri, 11 May 2012 12:48:36 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  <image>
    <url>http://pebble.sourceforge.net/common/images/powered-by-pebble.gif</url>
    <title>Weiqi Gao&#039;s Observations</title>
    <link>http://www.weiqigao.com/blog/</link>
  </image>
  
  
  <item>
    <title>It&#039;s The People, Stupid!</title>
    <link>http://www.weiqigao.com/blog/2008/02/24/its_the_people_stupid.html</link>
    
      
        <description>
          &lt;p&gt;The pattern of lead engineer jumping off the Java train continues with &lt;a href= &#034;http://www.infoq.com/presentations/haase-javafx-jdk7&#034; &gt;Chet Haase&lt;/a&gt;, the lead Java client architect, &lt;a href= &#034;http://graphics-geek.blogspot.com/2008/02/what-hello-world.html&#034; &gt;joining Adobe&#039;s Flex SDK team&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Eric Burke, over there at &lt;a href= &#034;http://stuffthathappens.com/blog/&#034; &gt;Stuff That Happens.com&lt;/a&gt;, as usual, has the in depth analysis:&lt;/p&gt;

&lt;p&gt;([&lt;b&gt;Update&lt;/b&gt;] Eric has since toned down the original wording of the comment and withdrew two out of three frames of the comic, and issued &lt;a href= &#034;http://stuffthathappens.com/blog/2008/03/04/chet-im-sorry/&#034; &gt;an apology&lt;/a&gt;.  I have updated my quote accordingly.)&lt;/p&gt;

&lt;blockquote&gt;
&lt;a href= &#034;http://stuffthathappens.com/blog/2008/02/23/comic-so-long-chet/&#034; &gt;Eric Burke&lt;/a&gt;: This is a real XXXX in the XXXX...
&lt;/blockquote&gt;

&lt;p&gt;Of course, Adobe doesn&#039;t think so:&lt;/p&gt;

&lt;blockquote&gt;
&lt;a href= &#034;http://stuffthathappens.com/blog/2008/02/23/comic-so-long-chet/#comment-6677&#034; &gt;James Ward, commenting on Eric&#039;s Comic&lt;/a&gt;: Adobe is not trying to kill anyone or anything. We are always looking for great engineers. Chet is a great engineer and we are really happy to have him on board.
&lt;/blockquote&gt;

&lt;p&gt;Instead of getting all depressed, let me salvage the situation and turn this situation into a fun little Sunday Java People Quiz:&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Q&lt;/b&gt;: For each of the following former Sun engineers, discuss the importance of their contributions to the Java platform, what prompted them to leave the Java team, and which company, if any hired them away?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Arthur van Hoff&lt;/li&gt;
&lt;li&gt;Alan Baratz&lt;/li&gt;
&lt;li&gt;Patrick Naughton&lt;/li&gt;
&lt;li&gt;The original CAFEBABE&lt;/li&gt;
&lt;li&gt;Calvin Austin&lt;/li&gt;
&lt;li&gt;Joshua Bloch&lt;/li&gt;
&lt;li&gt;Neal Gafter&lt;/li&gt;
&lt;li&gt;Gilad Bracha&lt;/li&gt;
&lt;li&gt;Peter van der Ahe&lt;/li&gt;
&lt;li&gt;Graham Hamilton&lt;/li&gt;
&lt;li&gt;Dick Wall (or one of the other Java Posses, I can&#039;t tell them apart)&lt;/li&gt;
&lt;li&gt;Bill Joy&lt;/li&gt;
&lt;li&gt;Ken Arnold&lt;/li&gt;
&lt;li&gt;Mary, the lady who use to give out &lt;a href= &#034;http://blogs.sun.com/mary/entry/friday_free_stuff17&#034; &gt;Friday Free Stuff&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;(Add more in the comments)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The point?  Java has survived in the face of all these public high profile separations.  It will live on past this one.&lt;/p&gt;
        </description>
      
      
    
    
    
    <comments>http://www.weiqigao.com/blog/2008/02/24/its_the_people_stupid.html#comments</comments>
    <guid isPermaLink="true">http://www.weiqigao.com/blog/2008/02/24/its_the_people_stupid.html</guid>
    <pubDate>Sun, 24 Feb 2008 15:58:57 GMT</pubDate>
  </item>
  
  <item>
    <title>Java News Brief (JNB): Building A Complete NetBeans Platform Application</title>
    <link>http://www.weiqigao.com/blog/2005/10/03/java_news_brief_jnb_building_a_complete_netbeans_platform_application.html</link>
    
      
        <description>
          &lt;p&gt;The second installment of &lt;a href= &#034;http://www.tomwheeler.com/&#034; &gt;Tom Wheeler&lt;/a&gt;&#039;s &lt;a href= &#034;http://www.ociweb.com/jnb/jnbOct2005.html&#034; &gt;NetBeans Platform tutorial&lt;/a&gt; is posted to &lt;a href= &#034;http://www.ociweb.com/&#034; &gt;OCI&lt;/a&gt;&#039;s &lt;a href= &#034;http://www.ociweb.com/jnb/&#034; &gt;Java News Brief (JNB)&lt;/a&gt;.  Get it while it&#039;s hot.
&lt;/p&gt;
        </description>
      
      
    
    
    
    <comments>http://www.weiqigao.com/blog/2005/10/03/java_news_brief_jnb_building_a_complete_netbeans_platform_application.html#comments</comments>
    <guid isPermaLink="true">http://www.weiqigao.com/blog/2005/10/03/java_news_brief_jnb_building_a_complete_netbeans_platform_application.html</guid>
    <pubDate>Mon, 03 Oct 2005 15:57:03 GMT</pubDate>
  </item>
  
  <item>
    <title>Direct Manipulation, Emerging Behavior, Untestable Qualities, ...</title>
    <link>http://www.weiqigao.com/blog/2005/09/09/direct_manipulation_emerging_behavior_untestable_qualities.html</link>
    
      
        <description>
          &lt;p&gt;Tonight&#039;s presentation at the &lt;a href= &#034;http://www.ociweb.com/javasig/&#034; &gt;St. Louis JUG&lt;/a&gt; is by &lt;a href= &#034;http://kylecordes.com/&#034; &gt;Kyle Cordes&lt;/a&gt;, principal of &lt;a href= &#034;http://oasisdigital.com/&#034; &gt;Oasis Digital&lt;/a&gt;, and his title is &lt;em&gt;&lt;span style=&#034;color:red&#034; title=&#034;Coolest Thing&#034;&gt;Direct Manipulation&lt;/span&gt; User Interfaces with Java Swing&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;This is once again one of those talks that you have to attend to appreciate its content.  Reading the slides afterwards probably won&#039;t do it.&lt;/p&gt;

&lt;p&gt;Before the talk Raj Patel asked what the talk is going to be about.  The answer I came up with is &#034;writing a Swing application where the users don&#039;t enter texts and push buttons.&#034;  At the opening of the presentation, Kyle also pointed out that he&#039;s not talking about Swing drag-and-drop, which is all about negotiating data formats.  Nor is he talking about Naked Objects, whcih is all about &lt;span style=&#034;color:red&#034;&gt;not&lt;/span&gt; writing the GUI.&lt;/p&gt;

&lt;p&gt;Kyle spent most of the time in Eclipse, doing demos while going through source code class by class and line by line.&lt;/p&gt;

&lt;p&gt;Kyle&#039;s thesis is that direct manipulation user interfaces, based on drag-and-droppable on-screen widgets, can provide fast, efficient, intuitive, and appealing data manipulation in your application.&lt;/p&gt;

&lt;p&gt;In one of the demos, the screen is populated with small JPanels in a ten row three column grid.  You pick up one and move it to a different spot.  As you are dragging the JPanel other JPanels make way for it by moving to a different location in an animated fashion.  &#034;Wow&#034; was my first reaction.&lt;/p&gt;

&lt;p&gt;Then he went through the code.  And the code was amazingly simple.  It uses Swing features to the fullest extent, but simple.  The animation logic is driven by a Swing Timer whose action is simply: hey, each JPanel, check if you should move to a different spot, and if so, move a little bit toward the new spot.  The fancy animation is an &lt;em&gt;&lt;span style=&#034;color:red&#034;&gt;emerging behavior&lt;/span&gt;&lt;/em&gt; out of this simple logic.  Another &#034;wow&#034; at the source level.&lt;/p&gt;

&lt;p&gt;After the talk I asked if he wrote any tests for the code.  The answer is no.  &#034;How could you write a test for the emerging behavior?&#034;  Jeff Grigg put it a different way: &#034;How could you write a &lt;em&gt;&lt;span style=&#034;color:red&#034;&gt;test&lt;/span&gt; for &#039;&lt;span style=&#034;color:red&#034;&gt;this is fun&lt;/span&gt;?&#039;&lt;/em&gt;  You let the user use it and watch them having fun!&#034;&lt;/p&gt;
        </description>
      
      
    
    
    
    <comments>http://www.weiqigao.com/blog/2005/09/09/direct_manipulation_emerging_behavior_untestable_qualities.html#comments</comments>
    <guid isPermaLink="true">http://www.weiqigao.com/blog/2005/09/09/direct_manipulation_emerging_behavior_untestable_qualities.html</guid>
    <pubDate>Fri, 09 Sep 2005 06:01:51 GMT</pubDate>
  </item>
  
  </channel>
</rss>

