<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>lekkimworld.com - Java category</title>
  <link>http://lekkimworld.com/categories/java/</link>
  <description>lotus notes/domino, sametime, java...</description>
  <language>en</language>
  <copyright>Mikkel Heisterberg (lekkim [at] lekkimworld [dot] com)</copyright>
  <lastBuildDate>Fri, 16 May 2008 05:54:00 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>lekkimworld.com (Java category)</title>
    <link>http://lekkimworld.com/</link>
  </image>
  
  
  <item>
    <title>developerWorks article - Going wild with generics (Understanding wildcard capture)</title>
    <link>http://lekkimworld.com/2008/05/13/developerworks_article_going_wild_with_generics_understanding_wildcard_capture.html</link>
    
      
        <description>
          &lt;p&gt;
Although being a little hairy this article is quite interesting if you&#039;re doing stuff with generics in Java. 
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&#034;http://www.ibm.com/developerworks/java/library/j-jtp04298.html?S_TACT=105AGX54&amp;S_CMP=B0508&amp;ca=dnw-918&#034;&gt;Java theory and practice: Going wild with generics - Understanding wildcard capture&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;Update:&lt;/b&gt; I can really recommend the &lt;a href=&#034;http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf&#034;&gt;Sun tutorial on Generics&lt;/a&gt; if you want to get up to speed on Generics.
&lt;/p&gt;
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <category>IBM</category>
    
    <comments>http://lekkimworld.com/2008/05/13/developerworks_article_going_wild_with_generics_understanding_wildcard_capture.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2008/05/13/developerworks_article_going_wild_with_generics_understanding_wildcard_capture.html</guid>
    <pubDate>Tue, 13 May 2008 10:08:00 GMT</pubDate>
  </item>
  
  <item>
    <title>developerWorks: Plug-in development 101</title>
    <link>http://lekkimworld.com/2008/04/04/developerworks_plug_in_development_101.html</link>
    
      
        <description>
          &lt;p&gt;
Are you ready to get going on development of plug-ins for the Notes 8 client (Eclipse)? If you are then look no further than this series of articles on developerWorks: &lt;a href=&#034;http://www.ibm.com/developerworks/views/opensource/libraryview.jsp?search_by=plug-in+development+101&#034;&gt;Plug-in development 101&lt;/a&gt;. It&#039;s a bit sad that it isn&#039;t Notes 8 specific but hey it&#039;s in the Open Source zone but even though you get the basics of the necessary steps for creating plug-ins.
&lt;/p&gt;

        </description>
      
      
    
    
    
    <category>Java</category>
    
    <comments>http://lekkimworld.com/2008/04/04/developerworks_plug_in_development_101.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2008/04/04/developerworks_plug_in_development_101.html</guid>
    <pubDate>Fri, 04 Apr 2008 05:50:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Setting table row height in SWT</title>
    <link>http://lekkimworld.com/2008/03/27/setting_table_row_height_in_swt.html</link>
    
      
        <description>
          &lt;p&gt;
So it appears you can actually set the row height of a SWT table despite me previously saying you couldn&#039;t. The caveat is that it cannot be set on a per row basis. Row height is set using a Listener for SWT.MeasureItem and then setting the height property of the supplied event object as shown below.
&lt;pre&gt;
// resize the row height using a MeasureItem listener
table.addListener(SWT.MeasureItem, new Listener() {
   public void handleEvent(Event event) {
      // height cannot be per row so simply set
      event.height = 67;
   }
});
&lt;/pre&gt;
If need be you could compute the actual height using the GC.stringExtent(String).y and simply set to the biggest value you encounter.
&lt;/p&gt;
&lt;p&gt;
Information from &lt;a href=&#034;http://www.eclipsecon.com/articles/article.php?file=Article-CustomDrawingTableAndTreeItems/index.html&#034;&gt;Custom Drawing Table and Tree Items&lt;/a&gt; at Eclipse.org.
&lt;/p&gt;
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <comments>http://lekkimworld.com/2008/03/27/setting_table_row_height_in_swt.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2008/03/27/setting_table_row_height_in_swt.html</guid>
    <pubDate>Thu, 27 Mar 2008 07:02:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Announcing TwitNotes - a Twitter plug-in for Notes 8</title>
    <link>http://lekkimworld.com/2008/03/21/announcing_twitnotes_a_twitter_plug_in_for_notes_8.html</link>
    
      
        <description>
          &lt;p&gt;
The below screenshot should speak for itself but in case it doesn&#039;t let me explain... Last night and tonight I have been writing a &lt;a href=&#034;http://twitter.com&#034;&gt;Twitter&lt;/a&gt; plug-in for the Notes 8 Standard sidebar. I got tired of using BeTwittered and really wanted a real Notes 8 sidebar plug-in as I have some other ideas I want to incorporate. Once I finalize the plug-in tomorrow and get it on an update site you can install it if you&#039;re interested.
&lt;/p&gt;
&lt;p align=&#034;center&#034;&gt;
&lt;img src=&#034;http://lekkimworld.com/images/twitnotes/twitnotes-0.9.jpg&#034; /&gt;
&lt;p&gt;
&lt;p&gt;
&lt;b&gt;Initial features:&lt;/b&gt;
&lt;ul&gt;
&lt;li&gt;Pure SWT application&lt;/li&gt;
&lt;li&gt;Integration with the Accounts API&lt;/li&gt;
&lt;li&gt;Preferences via Notes 8 Preference pages (auto refresh (yes/no), refresh interval, number of posts to show, refresh after posting).&lt;/li&gt;
&lt;li&gt;Shows the Twitter profile image of the poster.&lt;/li&gt;
&lt;li&gt;Posts to Twitter.&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <comments>http://lekkimworld.com/2008/03/21/announcing_twitnotes_a_twitter_plug_in_for_notes_8.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2008/03/21/announcing_twitnotes_a_twitter_plug_in_for_notes_8.html</guid>
    <pubDate>Thu, 20 Mar 2008 23:18:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Article: Designing composite applications: Writing an Eclipse component for IBM Lotus Notes</title>
    <link>http://lekkimworld.com/2008/03/17/article_designing_composite_applications_writing_an_eclipse_component_for_ibm_lotus_notes.html</link>
    
      
        <description>
          &lt;p&gt;
&lt;i&gt;&#034;This article introduces some helper classes so you can quickly build and deploy feature-rich, reusable, Eclipse-based components for IBM Lotus Notes. You also learn how to create a foundation upon which other components can be created quickly and easily.&#034;&lt;/i&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&#034;http://www.ibm.com/developerworks/lotus/library/notes8-eclipse-comp/?S_TACT=105AGX54&amp;S_CMP=B0314&amp;ca=dnw-910&#034;&gt;Designing composite applications: Writing an Eclipse component for IBM Lotus Notes&lt;/a&gt; by Craig Wolpert and Jo Grant from IBM @ IBM developerWorks.
&lt;/p&gt;
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <category>IBM</category>
    
    <comments>http://lekkimworld.com/2008/03/17/article_designing_composite_applications_writing_an_eclipse_component_for_ibm_lotus_notes.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2008/03/17/article_designing_composite_applications_writing_an_eclipse_component_for_ibm_lotus_notes.html</guid>
    <pubDate>Mon, 17 Mar 2008 14:39:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Initializing Java Maps</title>
    <link>http://lekkimworld.com/2008/03/14/initializing_java_maps.html</link>
    
      
        <description>
          &lt;p&gt;
Elias Torres: &lt;a href=&#034;http://torrez.us/archives/2008/03/08/560/&#034;&gt;Initializing Java Maps&lt;/a&gt;
&lt;/p&gt;
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <comments>http://lekkimworld.com/2008/03/14/initializing_java_maps.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2008/03/14/initializing_java_maps.html</guid>
    <pubDate>Fri, 14 Mar 2008 20:12:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Contributing to a developerWorks wiki</title>
    <link>http://lekkimworld.com/2008/03/12/contributing_to_a_developerworks_wiki.html</link>
    
      
        <description>
          &lt;p&gt;
Today I entered the IBM wiki world by contributing to the &lt;a href=&#034;http://www.ibm.com/developerworks/wikis/display/appdev/Home&#034;&gt;Composite Application wiki&lt;/a&gt; over at developerWorks. It all started with me having to figure out how to add menu items to the menu of a sideshelf component. I found the answer in the wiki (for those interested it&#039;s quite easy using the org.eclipse.ui.viewActions extension point). What I didn&#039;t find was an example of how to programmatically add actions which I also needed so once I figured it out I added the information to the wiki. Programmatically adding actions is useful if you don&#039;t know which actions to add at compile and/or deployment time.
&lt;/p&gt;
&lt;p&gt;
So if you go to the &lt;a href=&#034;http://www.ibm.com/developerworks/wikis/display/appdev/Creating+a+Sideshelf+Component&#034;&gt;page on creating sideshelf components&lt;/a&gt; you&#039;ll find a section on programmatically adding actions.
&lt;/p&gt;
&lt;p align=&#034;center&#034;&gt;
&lt;img src=&#034;http://lekkimworld.com/images/eclipse/programmatically_adding_actions_wiki.jpg&#034; /&gt;
&lt;/p&gt;
&lt;p&gt;
I really like the idea of the wikis and I really feel good after having contributed. Get some, give some. 
&lt;/p&gt;
&lt;p&gt;
P.S.: I know I&#039;m still way behind blogging on my holiday compared to &lt;a href=&#034;http://www.edbrill.com&#034;&gt;Ed Brill&lt;/a&gt;... :-)
&lt;/p&gt;
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <category>IBM</category>
    
    <comments>http://lekkimworld.com/2008/03/12/contributing_to_a_developerworks_wiki.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2008/03/12/contributing_to_a_developerworks_wiki.html</guid>
    <pubDate>Wed, 12 Mar 2008 16:41:00 GMT</pubDate>
  </item>
  
  <item>
    <title>developerWorks article - Configuring and adding menu items in Eclipse V3.3</title>
    <link>http://lekkimworld.com/2008/02/25/developerworks_article_configuring_and_adding_menu_items_in_eclipse_v3_3.html</link>
    
      
        <description>
          &lt;p&gt;
Nice article on developerWorks on the new extension point for action bars, menu items etc. in Eclipse 3.3. This will have consequences for you guys developing SWT stuff for Notes 8+ as Notes 8.5 is based on Eclipse 3.4.
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&#034;http://www.ibm.com/developerworks/opensource/library/os-eclipse-3.3menu/?S_TACT=105AGX54&amp;S_CMP=B0222&amp;ca=dnw-907&#034;&gt;Configuring and adding menu items in Eclipse V3.3&lt;/a&gt;
&lt;/p&gt;
        </description>
      
      
    
    
    
    <category>Java</category>
    
    <comments>http://lekkimworld.com/2008/02/25/developerworks_article_configuring_and_adding_menu_items_in_eclipse_v3_3.html#comments</comments>
    <guid isPermaLink="true">http://lekkimworld.com/2008/02/25/developerworks_article_configuring_and_adding_menu_items_in_eclipse_v3_3.html</guid>
    <pubDate>Mon, 25 Feb 2008 17:45:00 GMT</pubDate>
  </item>
  
  </channel>
</rss>
