<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Gregg Bolinger - opinion tag</title>
  <link>http://www.greggbolinger.com/blog/tags/opinion/</link>
  <description></description>
  <language>en</language>
  <copyright>Gregg Bolinger</copyright>
  <lastBuildDate>Tue, 18 Nov 2008 15:58:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>This Is What Ticks Me Off With Sun and Swing</title>
    <link>http://www.greggbolinger.com/blog/2008/11/13/1226630460000.html</link>
    
      
        <description>
          &lt;p&gt;So I have been spending most of my evening trying to get drag and drop from a JTree to a JList to work with Java6&#039;s alleged &#034;simpler D&amp;D support&#034;.  Simple is relative.  I need to actually transfer the user object from the DefaultMutableTreeNode for my application to really work correctly so that meant providing my own TransferHandler and Transferable implementations.
&lt;/p&gt;&lt;p&gt;
Well, I sort of got it working but wanted to spruce it up with a nice icon when the node is being dragged.  Looking at the API (and in my case the source code) I found a method:
&lt;/p&gt;&lt;p&gt;
public Icon getVisualRepresentation(Transferable transferable)
&lt;/p&gt;&lt;p&gt;
that I can simply override and provide my icon.  So I did this but no icon was showing up.  Debugging I then found this method was never even called.  Google time!!  Found this:
&lt;/p&gt;&lt;p&gt;
&lt;a href=&#034;http://bugs.sun.com/view_bug.do?bug_id=4816922&#034;&gt;http://bugs.sun.com/view_bug.do?bug_id=4816922&lt;/a&gt;
&lt;/p&gt;&lt;p&gt;
Reported in 2003.  Still not fixed.  Ok, so drag and drop works.  But it looks like garbage and I had a hard enough time getting this to work as is.  I personally don&#039;t feel like I should have to go and override all the drag source and drag target nonsense just for something like this.  Absolutely rediculous that Sun can&#039;t (won&#039;t) fix something like this.  I&#039;m curious if this works in JavaFX only to the extent of if it does, why can&#039;t they backport it into Swing?&lt;/p&gt;
&lt;p&gt;
So freaking ticked off right now because even though this is a trivial issue that doesn&#039;t stop my app from working Swing is full of these kinds of bugs that have been sitting for years.
&lt;/p&gt;
        </description>
      
      
    
    
    
    <comments>http://www.greggbolinger.com/blog/2008/11/13/1226630460000.html#comments</comments>
    <guid isPermaLink="true">http://www.greggbolinger.com/blog/2008/11/13/1226630460000.html</guid>
    <pubDate>Fri, 14 Nov 2008 02:41:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Sun Abandons Non-RIA Developers</title>
    <link>http://www.greggbolinger.com/blog/2008/11/06/1225995060000.html</link>
    
      
        <description>
          &lt;p&gt;
Reports &lt;a href=&#034;http://weblogs.java.net/blog/kirillcool/archive/2008/11/sun_setting_dow.html&#034;&gt;here&lt;/a&gt; and &lt;a href=&#034;http://weblogs.java.net/blog/kirillcool/archive/2008/11/sun_setting_dow.html&#034;&gt;here&lt;/a&gt; state Sun is abandoning Swing.  Sure, it will be available in the core API for quite some time and I&#039;m sure they&#039;ll get to all the bugs.  It&#039;s not like there have been bugs that have gone unanswered since Swing was first released.  Oh wait....
&lt;/p&gt;
&lt;p&gt;
What does this mean?
&lt;ul&gt;
&lt;li&gt;Netbeans is rewritten in JavaFX and is now used as an Applet.
&lt;li&gt;IntelliJ moves to the .NET or Mono platform and actually gains a performance boost.
&lt;li&gt;Eclipse laughs at all of us for using Swing in the first place
&lt;li&gt;Kirill doesn&#039;t blog anymore
&lt;li&gt;....
&lt;/ul&gt;
&lt;/p&gt;
&lt;p&gt;Keep the list going in the comments.  I&#039;m curious what everyone really thinks will happen due to this decision.&lt;/p&gt;
        </description>
      
      
    
    
    
    <comments>http://www.greggbolinger.com/blog/2008/11/06/1225995060000.html#comments</comments>
    <guid isPermaLink="true">http://www.greggbolinger.com/blog/2008/11/06/1225995060000.html</guid>
    <pubDate>Thu, 06 Nov 2008 18:11:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Random Thoughts of the Day</title>
    <link>http://www.greggbolinger.com/blog/2008/10/30/1225411200000.html</link>
    
      
      
        <description>
          This is just sort of a rambling of general thoughts that by themselves don&#039;t amount to much but all of them together might make for a nice blog entry, I thought.&lt;p&gt;&lt;a href=&#034;http://www.greggbolinger.com/blog/2008/10/30/1225411200000.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
    
    
    <comments>http://www.greggbolinger.com/blog/2008/10/30/1225411200000.html#comments</comments>
    <guid isPermaLink="true">http://www.greggbolinger.com/blog/2008/10/30/1225411200000.html</guid>
    <pubDate>Fri, 31 Oct 2008 00:00:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Choosing the right Tech for a New Project</title>
    <link>http://www.greggbolinger.com/blog/2008/10/23/1224789480000.html</link>
    
      
      
        <description>
          For about a year now I&#039;ve been sitting on a project idea.  I&#039;ve prototyped a few things out, written some stuff down.  I&#039;ve talked to a handful of colleagues about it.  Lately it has become something I am more and more interested in doing.  Over the last year I&#039;ve had very little time to spare to anything extra and that is the main reason for it staying on the back burner as long as it has.  Now that I&#039;m ready to take a more serious look into its viability I&#039;m beginning to wonder what technical direction to take and how best to make that decision.&lt;p&gt;&lt;a href=&#034;http://www.greggbolinger.com/blog/2008/10/23/1224789480000.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
    
    
    <comments>http://www.greggbolinger.com/blog/2008/10/23/1224789480000.html#comments</comments>
    <guid isPermaLink="true">http://www.greggbolinger.com/blog/2008/10/23/1224789480000.html</guid>
    <pubDate>Thu, 23 Oct 2008 19:18:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Some Thoughts on Swing, MVC, and Available Application API&#039;s</title>
    <link>http://www.greggbolinger.com/blog/2008/09/25/1222372800000.html</link>
    
      
      
        <description>
          &lt;p&gt;
Sometimes while developing I get crazy thoughts and decide to completely go against the norm, mix things up, and do something that someone else at some point tried and already realized what a horrible idea it was.  I just feel like I have to put myself through that same pain to learn, I suppose.  Of course, I&#039;m developing a large Swing application so my pain threshold is already pretty high.
&lt;/p&gt;&lt;p&gt;&lt;a href=&#034;http://www.greggbolinger.com/blog/2008/09/25/1222372800000.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
    
    
    <comments>http://www.greggbolinger.com/blog/2008/09/25/1222372800000.html#comments</comments>
    <guid isPermaLink="true">http://www.greggbolinger.com/blog/2008/09/25/1222372800000.html</guid>
    <pubDate>Thu, 25 Sep 2008 20:00:00 GMT</pubDate>
  </item>
  
  </channel>
</rss>
