<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-4290987264317203922</atom:id><lastBuildDate>Tue, 30 Apr 2013 06:47:27 +0000</lastBuildDate><category>serialversionuid</category><category>Plugins</category><title>Manikantan's Netbeans</title><description>Blogging about everything I do with Netbeans</description><link>http://manikantans-netbeans.blogspot.com/</link><managingEditor>noreply@blogger.com (Manikantan Narender nath)</managingEditor><generator>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ManikantansNetbeans" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="manikantansnetbeans" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FManikantansNetbeans" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FManikantansNetbeans" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FManikantansNetbeans" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bloglines.com/sub/http://feeds.feedburner.com/ManikantansNetbeans" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FManikantansNetbeans" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FManikantansNetbeans" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FManikantansNetbeans" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4290987264317203922.post-8841209787603704707</guid><pubDate>Tue, 20 Oct 2009 08:50:00 +0000</pubDate><atom:updated>2009-10-20T21:04:03.705-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">serialversionuid</category><category domain="http://www.blogger.com/atom/ns#">Plugins</category><title>Serial Version UID - Netbeans 6.8 M2</title><description>&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Providing a code template is a very simple affair in Netbeans. You can manually create the entry in the options dialog or write a plugin. The plugin affair is quite simple.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_eGRRWG9_ZGg/St15CK3h4qI/AAAAAAAAEqE/K60VeS9tDF8/s1600-h/optionsdialog.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_eGRRWG9_ZGg/St15CK3h4qI/AAAAAAAAEqE/K60VeS9tDF8/s320/optionsdialog.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif; font-size: small;"&gt;Steps:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Create a new NB Module&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Expand the Tree as follows in the projects view&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;

&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;projectname&gt;--&amp;gt;Important files--&amp;gt;XML Layer--&amp;gt;&lt;this context="" in="" layer=""&gt;--&amp;gt;Editors--&amp;gt;text--&amp;gt;x-java--&amp;gt;CodeTemplates--&amp;gt;Defaults&lt;/this&gt;&lt;/projectname&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Right click on the file named&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;org-netbeans-modules-editor-java-codetemplates.xml.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Click Edit&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;append the following line near the end of the file (before the &lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/codetemplates&amp;gt;&lt;/span&gt;&amp;nbsp;&lt;b&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;/span&gt;&lt;/b&gt;tag) &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;codetemplate abbreviation="suid" descriptionId="Generate Serial version uid"&amp;gt;&amp;lt;code&amp;gt;&amp;lt;![CDATA[private static final long serialVersionUID = 1L; ]]&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/codetemplate&amp;gt;&lt;br /&gt;
&lt;/span&gt;&lt;ol&gt;&lt;ol&gt;&lt;/ol&gt;
&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif; font-size: small;"&gt;Run the project,&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif; font-size: small;"&gt;a new instance of netbeans will be started.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif; font-size: small;"&gt;Bring up the options dialog.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif; font-size: small;"&gt;Click on editor--&amp;gt;Code templates tab&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Select Java as the language&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Scroll down the list looking for &lt;b&gt;suid&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Viola, code template ready.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Another option is to use the code generator&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_eGRRWG9_ZGg/St15Uc3uGnI/AAAAAAAAEqM/z8XQpXMp7Og/s1600-h/CodeGen.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_eGRRWG9_ZGg/St15Uc3uGnI/AAAAAAAAEqM/z8XQpXMp7Og/s320/CodeGen.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif; font-size: small;"&gt;in the module create above right click on the module package and click new&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Optionally click other&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Select code generator in the Module development&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Provide a name&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;in the mime type enter &lt;b&gt;&lt;i&gt;text/x-java&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Open the class that is generated and search for the getDisplayName method and replace the method content as&amp;nbsp;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;b&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;return NbBundle.getMessage(SerialVersionUIDGenerator.class, "SerialVersionUIDGenerator.label");&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Now for the meat of the implementation. Search for the invoke method and add the following contents&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Caret caret = textComp.getCaret();&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int start = Math.min(caret.getDot(), caret.getMark());&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;StringBuilder builder = new StringBuilder("private static final long serialVersionUID = 1L;");&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;builder.append(System.getProperty("line.separator","\n"));&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Document doc = textComp.getDocument();&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;doc.insertString(start, builder.toString(), null);&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (BadLocationException ex) {&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Exceptions.printStackTrace(ex);&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
The plugin is available for download from &lt;a href="http://kenai.com/projects/nbplugin-suid"&gt;Kenai&lt;/a&gt;&amp;nbsp;or netbeans plugin portal&lt;br /&gt;
&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ManikantansNetbeans?a=XYxx0gxCPW0:C8D_HdgNmFg:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ManikantansNetbeans?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://manikantans-netbeans.blogspot.com/2009/10/serial-version-uid-netbeans-68-m2.html</link><author>noreply@blogger.com (Manikantan Narender nath)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_eGRRWG9_ZGg/St15CK3h4qI/AAAAAAAAEqE/K60VeS9tDF8/s72-c/optionsdialog.jpg" height="72" width="72" /><thr:total>37</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4290987264317203922.post-2580027799625902846</guid><pubDate>Tue, 21 Oct 2008 05:08:00 +0000</pubDate><atom:updated>2008-10-20T22:21:17.546-07:00</atom:updated><title>Rebuild application on top of the NB Platform</title><description>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: trebuchet ms;"&gt;My colleague and friend Dinesh had a problem which goes like this&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Can I take my application xStudio and port it on top of the NBPlatform? What I am looking for is&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;this - &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol style="font-family: trebuchet ms;"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;My Code base should remain fairly intact. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;I want my own menus and toolbars and splash screens. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;What I need NB to take care of is Interaction between different views - Tree and table, Report generation based on selected node, row etc. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;What code I want to eliminate is mainly all the listeners we use to report user input among different widgets&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Maintain organisation 's UI standards.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: trebuchet ms;"&gt;Given this criteria - it took me 9 hours in total to figure it out. - 4 hours to read tutorials and try them out and 5 hours to complete the task.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Preparation - &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Understand thoroughly the concepts explained in the &lt;/span&gt;&lt;a style="font-family: trebuchet ms;" href="http://platform.netbeans.org/tutorials/61/nbm-htmleditor.html"&gt;NB Quick start guide&lt;/a&gt;&lt;span style="font-family: trebuchet ms;"&gt;. This tutorial completes problems 2&amp;amp;5 by just editing one XML file that too by using context menus alone.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-family: trebuchet ms;" href="http://platform.netbeans.org/tutorials/60/nbm-selection-1.html"&gt;Selection management tutorial &lt;/a&gt;&lt;span style="font-family: trebuchet ms;"&gt;completed the rest.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Steps followed - &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: trebuchet ms;"&gt;Replace NB actions with our actions - simple to do since both are javax.swing.Action.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: trebuchet ms;"&gt;Replace JSplitpanes with NB topcomponents&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: trebuchet ms;"&gt;Replace Tree and table combo with the TreeTableView (slight refactoring in our datamodel accomplished this).&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;9 hours later application has been ported.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Sorry no screen shots are available due to organisation's legal restrictions.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;To fully understand the NB architecture, one has to just start with the quick start and system file system tutorial and after that things are rather simple.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ManikantansNetbeans?a=8dhVoelLg0s:SWX-OV_X7_8:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ManikantansNetbeans?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://manikantans-netbeans.blogspot.com/2008/10/rebuild-application-on-top-of-nb.html</link><author>noreply@blogger.com (Manikantan Narender nath)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4290987264317203922.post-6497981177966989104</guid><pubDate>Tue, 21 Oct 2008 04:48:00 +0000</pubDate><atom:updated>2008-10-20T22:04:12.405-07:00</atom:updated><title>Happy 10th Birthday Netbeans - My Genesis with NB</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_eGRRWG9_ZGg/SP1g-sdgoCI/AAAAAAAADwk/kPHKGN_ywVo/s1600-h/logo-10y-nb-since1998-180.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_eGRRWG9_ZGg/SP1g-sdgoCI/AAAAAAAADwk/kPHKGN_ywVo/s400/logo-10y-nb-since1998-180.png" alt="" id="BLOGGER_PHOTO_ID_5259466570041696290" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;Today Netbeans reaches a decade milestone and wow what a progression.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I saw netbeans long back in the year 2000 (yep Y2K) when I first saw it on java.sun.com and the Sun application Forte for java (built on NB3) rechristened as Sun One studio. That is when I first moved away from batch files, editplus/text pad and DOS editor and Forte For Java was my first Java IDDE and there was no looking back.&lt;br /&gt;&lt;br /&gt;That was NB3.0. Then couple of years later, Sun one studio became bloated which was not to my liking. Thats when I fully transitioned into a NB user starting with NB3.5 and there has been no looking back. In my organisation I am the only one who uses NB for development. I have given a couple of plugins, developed (not marketed) one NB based application and with NB6.5 beta the progression can only be forward.&lt;br /&gt;&lt;br /&gt;What is the next best thing after NB - the netbeans community. 90% of the time I faced problems or issues, I find answers here within the community - be it code snippets, docs, tutorials or forum threads. The rest 10% I can figure it out based on related information. After all I should be doing something.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;If there is anything I miss from the later releases (NB 5 I guess) of NB it is the MDI view. Why did you guys remove it. Bring it back, Bring it back.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ManikantansNetbeans?a=jgtlCn--jpQ:75Wohh9zOfA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ManikantansNetbeans?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://manikantans-netbeans.blogspot.com/2008/10/happy-10th-birthday-netbeans-my-genesis.html</link><author>noreply@blogger.com (Manikantan Narender nath)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_eGRRWG9_ZGg/SP1g-sdgoCI/AAAAAAAADwk/kPHKGN_ywVo/s72-c/logo-10y-nb-since1998-180.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4290987264317203922.post-2318949382412970003</guid><pubDate>Fri, 29 Aug 2008 09:43:00 +0000</pubDate><atom:updated>2008-08-29T02:45:32.940-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Plugins</category><title>Netbeans6.1 Plugin - Export as archive version 1.02.1</title><description>&lt;span style=";font-family:trebuchet ms;font-size:85%;"  &gt;Read all about the &lt;a href="http://manikantans-netbeans.blogspot.com/2008/08/netbeans61-plugin-export-as-archive.html"&gt;Export as archive version 1.01.1.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In this version I have provided a dialog to choose the archive name and the folder in which the archive has to be created. The rest is the same.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_eGRRWG9_ZGg/SKLFj3C6OUI/AAAAAAAADts/rBwE0ai1rtI/s1600-h/Archvie+settings_dialog.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_eGRRWG9_ZGg/SKLFj3C6OUI/AAAAAAAADts/rBwE0ai1rtI/s400/Archvie+settings_dialog.jpg" alt="" id="BLOGGER_PHOTO_ID_5233962936820185410" border="0" /&gt;&lt;/a&gt;&lt;/span&gt; &lt;span style=";font-family:trebuchet ms;font-size:85%;"  &gt;&lt;br /&gt;I have a question from users&lt;br /&gt;1. Is the dialog neccessary&lt;br /&gt;2. If not all the time, would a check box "Don't show dialog again" suffice&lt;br /&gt;&lt;br /&gt;Do provide your comments.&lt;br /&gt;&lt;/span&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ManikantansNetbeans?a=g3dgVdSpOKQ:ZFbIy3HZxEA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ManikantansNetbeans?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://manikantans-netbeans.blogspot.com/2008/08/netbeans61-plugin-export-as-archive_29.html</link><author>noreply@blogger.com (Manikantan Narender nath)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_eGRRWG9_ZGg/SKLFj3C6OUI/AAAAAAAADts/rBwE0ai1rtI/s72-c/Archvie+settings_dialog.jpg" height="72" width="72" /><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4290987264317203922.post-6507290904610471063</guid><pubDate>Fri, 29 Aug 2008 09:41:00 +0000</pubDate><atom:updated>2008-11-13T07:50:58.602-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Plugins</category><title>Netbeans6.1 Plugin - Use System Desktop</title><description>&lt;span style=";font-family:trebuchet ms;font-size:85%;"  &gt;This plugin taps into the potential of&lt;span style="color: rgb(51, 51, 255);"&gt; &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;java.awt.Desktop&lt;/span&gt; and allows users to open/edit, view in browser and send by mail the selected node. the caveats are as follows.&lt;br /&gt;&lt;br /&gt;1. Behaviour is not guaranteed to be as expected. For example browse and open can do the same thing - open in the default editor. My testing has shown that only html and xml files open properly in browser.&lt;br /&gt;2. Mail - Selected file is not intriduced as an attachment since the mailto protocol does not support attachments.&lt;br /&gt;3. There are no options to set. What ever is set on the operating system will be used.&lt;br /&gt;4. When file association are not set; For example for manifest.mf file there might not be a file association. In these case you get an IOException which is shown to the user.&lt;br /&gt;5. Works with Netbeans 6.1 and JDK6 only&lt;br /&gt;6. Tested Platforms - Netbeans 6.1 and JDK6 Update 10 on Windows XP&lt;br /&gt;7. BIG NOTE: If an application is not associated with the given file. it does not bring up the "Open With" dialog&lt;br /&gt;&lt;br /&gt;Screen Shots&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_eGRRWG9_ZGg/SE-u-eCF8KI/AAAAAAAACok/zO429mNox3o/s1600-h/ScreenShot.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://4.bp.blogspot.com/_eGRRWG9_ZGg/SE-u-eCF8KI/AAAAAAAACok/zO429mNox3o/s400/ScreenShot.JPG" alt="" id="BLOGGER_PHOTO_ID_5210575682127917218" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(204, 0, 0);font-family:trebuchet ms;font-size:85%;"  &gt;Note: This plugin is not supported for NB with Java 5&lt;br /&gt;if installed with Java 5, then you see an empty menu under Tools--&gt;Desktop&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-family:trebuchet ms;font-size:85%;"  &gt;The plugin is now available from within the Plugin manager.&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(204, 0, 0);font-family:trebuchet ms;font-size:85%;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_eGRRWG9_ZGg/SHM5b0s4Y1I/AAAAAAAACos/IFuoNjCR88o/s1600-h/Useless.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_eGRRWG9_ZGg/SHM5b0s4Y1I/AAAAAAAACos/IFuoNjCR88o/s400/Useless.JPG" alt="" id="BLOGGER_PHOTO_ID_5220579543218676562" border="0" /&gt;&lt;/a&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ManikantansNetbeans?a=Mal8V1Wxxgk:X3DFl1DOTdc:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ManikantansNetbeans?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://manikantans-netbeans.blogspot.com/2008/08/netbeans61-plugin-use-system-desktop.html</link><author>noreply@blogger.com (Manikantan Narender nath)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_eGRRWG9_ZGg/SE-u-eCF8KI/AAAAAAAACok/zO429mNox3o/s72-c/ScreenShot.JPG" height="72" width="72" /><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4290987264317203922.post-7219661259142435784</guid><pubDate>Fri, 29 Aug 2008 09:40:00 +0000</pubDate><atom:updated>2008-11-13T07:50:59.453-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Plugins</category><title>Netbeans6.1 Plugin - Export as archive</title><description>&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;Netbeans has been a fascination for me. Ere it was Forte For Java which was then rechristened as sun java studio. Those were the days. Then Netbeans 5.0 happened. It was time to bid adieu to  Java studio. In my current place of work, I am the source of frustration and amusement to many people since I am the only one to use Netbeans when the rest of the organisation is eclipse based. So you can see that friction is high because I am one against many in a debate on which is better - Netbeans or Eclipse. (&lt;a href="http://manikantannaren-mytech.blogspot.com/2008/01/my-experiences-with-netbeans.html"&gt;see my previous post&lt;/a&gt; on why I find Netbeans as a better option). In one such debate came the notion of export as. Eclipse has many options for their Export As feature. But Netbeans does not. And so this plugin.&lt;/span&gt;&lt;br /&gt;&lt;div  style="text-align: justify;font-family:trebuchet ms;"&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;You can download the plugin from the netbeans plugin portal &lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;&lt;a href="http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=10235"&gt;Export as archive. &lt;/a&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;It is not available in the Plugin-manager now pending verification.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;Supported Platform - Netbeans 6.1&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-family:trebuchet ms;"&gt;You can click the Download button on the banner to the left to get Netbeans.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;Plugin details -&lt;br /&gt;The source code is available at &lt;a href="http://nb61plugineas.svn.sourceforge.net/viewvc/nb61plugineas/ExportAsArchive"&gt;http://nb61plugineas.svn.sourceforge.net/viewvc/nb61plugineas/ExportAsArchive&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;Now for the interesting parts.&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;The action extends from CookieAction and Over-rides two methods of interest&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul  style="text-align: justify;font-family:trebuchet ms;"&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;performAction(Node[] activatedNodes)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;enable(Node[] activatedNodes).&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div  style="text-align: justify;font-family:trebuchet ms;"&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;first the enable method&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;This ensures if for a selected node the export option should be enabled or not. I would have preferred along with that a visible option. But since that is not available will survive with it though. So the way I am enabling the option is checking with the DataObject. If the DataObject does not have a primary file, then don't enable other wise enable it.&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;performAction method - delegates call to a simple private method.&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;This method picks up the primary file from the DataObject, constructs an Ant Script. The idea of using an Ant Script was inspired by &lt;a href="http://blogs.sun.com/geertjan/entry/zipping_a_suite_s_nbm"&gt;Geertjan's blog&lt;/a&gt;. Earlier I used a grossly inefficient way - traversing  directories and adding them to a Zip stream.&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;Steps to create such a Plugin&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;1. Create a New Project - Choose Netbeans Module--&gt;Module&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_eGRRWG9_ZGg/SEeGsO8C_EI/AAAAAAAACn8/6G9sWAkhf8o/s1600-h/new+Project.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_eGRRWG9_ZGg/SEeGsO8C_EI/AAAAAAAACn8/6G9sWAkhf8o/s400/new+Project.JPG" alt="" id="BLOGGER_PHOTO_ID_5208279588559584322" border="0" /&gt;&lt;/a&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;2. In the next screen fill up the entries but ensure that the Standalone radio button is selected.&lt;/span&gt;&lt;span style="font-size:78%;"&gt;Tis marked in a red box.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_eGRRWG9_ZGg/SEeG_u8C_FI/AAAAAAAACoE/2uO0RJYmNW8/s1600-h/Standalone.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_eGRRWG9_ZGg/SEeG_u8C_FI/AAAAAAAACoE/2uO0RJYmNW8/s400/Standalone.JPG" alt="" id="BLOGGER_PHOTO_ID_5208279923567033426" border="0" /&gt;&lt;/a&gt;&lt;div  style="text-align: justify;font-family:trebuchet ms;"&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;3. Finish the wizard.&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;4. Click on the Project and Select New (Bring up the New File wizard)&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_eGRRWG9_ZGg/SEeHSu8C_GI/AAAAAAAACoM/vJLECJOdvi0/s1600-h/Action.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_eGRRWG9_ZGg/SEeHSu8C_GI/AAAAAAAACoM/vJLECJOdvi0/s400/Action.JPG" alt="" id="BLOGGER_PHOTO_ID_5208280249984547938" border="0" /&gt;&lt;/a&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;5. Select Conditionally Enabled  radio button and DataObject from the dropdown/combo box&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_eGRRWG9_ZGg/SEeHcO8C_HI/AAAAAAAACoU/S1Y4QwRkmKE/s1600-h/selection.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_eGRRWG9_ZGg/SEeHcO8C_HI/AAAAAAAACoU/S1Y4QwRkmKE/s400/selection.JPG" alt="" id="BLOGGER_PHOTO_ID_5208280413193305202" border="0" /&gt;&lt;/a&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;6. In the next screen you can choose any combinations&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_eGRRWG9_ZGg/SEeHje8C_II/AAAAAAAACoc/VNflt9XaH3M/s1600-h/menuoptions.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_eGRRWG9_ZGg/SEeHje8C_II/AAAAAAAACoc/VNflt9XaH3M/s400/menuoptions.JPG" alt="" id="BLOGGER_PHOTO_ID_5208280537747356802" border="0" /&gt;&lt;/a&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;7. Complete the wizard steps. &lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;8. Provide implementation for the performAction method.&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;Simple 8 steps.&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;&lt;span style="font-weight: bold;"&gt;What to expect in future? For now I am thinking of two things. You can pour in your views.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;1. Multiple Selected nodes (With restrictions of course)&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;2. Wizard like facility to choose destinations.&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:78%;"  &gt;Enjoy archiving your projects.&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(204, 0, 0);font-family:trebuchet ms;font-size:85%;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ManikantansNetbeans?a=N84krLaOh1o:3DaBE6EU2Uk:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ManikantansNetbeans?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://manikantans-netbeans.blogspot.com/2008/08/netbeans61-plugin-export-as-archive.html</link><author>noreply@blogger.com (Manikantan Narender nath)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_eGRRWG9_ZGg/SEeGsO8C_EI/AAAAAAAACn8/6G9sWAkhf8o/s72-c/new+Project.JPG" height="72" width="72" /><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4290987264317203922.post-6180347359874305057</guid><pubDate>Fri, 29 Aug 2008 09:34:00 +0000</pubDate><atom:updated>2008-08-29T02:40:24.823-07:00</atom:updated><title>my Experiences with Netbeans</title><description>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;For a long time I was enamoured by Forte For Java with their broken App theme. Then I gave up with Netbeans turning out to be lighter and swifter. Since that time I have been developing with Netbeans much to the amusement and sometime frustration of my colleagues who use Eclipse. I have worked with eclipse enough time to hate it. I hate it all the more when it gives me OutOfmemory error when I run a build using ANT. But I digress. The objective of this blog is not to make Netbeans look good by describing Eclipse as bad.&lt;br /&gt;&lt;br /&gt;What role does an IDDE play in the development life cycle?&lt;br /&gt;&lt;br /&gt;Most of the time an IDDE is linked with DnD type of programming suitable for GUI building. But an IDDE is more than that. The following are what I looked for and got from Netbeans (6 being the best till date).&lt;br /&gt;&lt;br /&gt;1. No Spoon feeding - Let the IDDE make me write code related to business need and prevent me from templates and boiler plates. Netbeans does not provide different types of code templates like what Eclipse does. For ex. in Eclipse if I type test and use ctrl+space it gives me a lot of options. Netbeans does not do that. (10 for Eclipse, -1 for Netbeans)&lt;br /&gt;&lt;br /&gt;2. The IDDE should be very responsive. A user action should result in near-immediate response. For ex. If i do a ctrl+space, my IDDE should not go into a Zombie state and hang for a long time or worse crash. (10 for Netbeans, -1 for eclipse)&lt;br /&gt;&lt;br /&gt;3. Bare platform should be sufficient. It is wrong to assume that a desktop/library developer would not be needing web components. In Eclipse you need to pull in plugins and additional things, cross your fingers, toes, hands and legs and pray that this would work. Netbeans gives it to me without much ado. - No plugins needed. (10 For Netbeans, -5 for Eclipse)&lt;br /&gt;&lt;br /&gt;4. User Interface and accessibility. Less said about eclipse, the better. Sad part is NB6 has moved a little in the eclipse direction. Most of the key board short cuts have changed and it needed some trying around to figure out how to get the NB 5 Keyboard mappings. Eclipse Debug window is a pain. To add a watch statement, I need to right click on the breakpoint and select a menu option. Pain!!!&lt;br /&gt;(Would have given 10 to Netbeans but they deserve to be punished for the Key mapping fiasco. So for this I give 5 to Netbeans and -1 to Eclipse)&lt;br /&gt;&lt;br /&gt;5. Bloated workspace: I hate the concept of the workspace in eclipse. Every time I create a workspace, I need to give a lot of MBs for the .metadata folder. Check the properties of that folder any time and you would wonder, why do I need plugins in my workspace when my eclipse installation has it. Change settings in the workspace and when I move to a new workspace, I need to change the same settings again? Why? In my 10 years of working with technology I never found a need for such a feature. Netbeans use XML to maintain the information instead of copying needed plugins to the workspace. Infact there is no concept of workspace in netbeans. &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;(10 for Netbeans and -1 for Eclipse).&lt;br /&gt;&lt;br /&gt;6. If there was one feature in Eclipse which I liked very much was the CVS feature. Netbeans 5 was pathetic in terms of diff, commiting etc. But with NB 6, Netbeans has thrashed eclipse soundly. ( So 5 for Netbeans and 10 for Eclipse for getting it right earlier)&lt;br /&gt;&lt;br /&gt;7. Web tech debugging. Ever tried debugging a JSP in Eclipse, by just setting your break point and invoking the debugger.  In Netbeans I just need to do that. The time I saved by NB Debugger feature is legendary. (-1 for Eclipse, 10 for Netbeans). I would have given -10 for this feature to eclipse, but did not since it would seem vengeful.&lt;br /&gt;&lt;br /&gt;On a final note - Netbeans should be watchful that it does not fall into the trap of Eclipse of being unwieldy with nice features that dont work.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;br /&gt;So total Score&lt;br /&gt;Netbeans : 49&lt;br /&gt;Eclipse : 9&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/ManikantansNetbeans?a=trFG99kmns0:nnw4FwdtvqI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/ManikantansNetbeans?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description><link>http://manikantans-netbeans.blogspot.com/2008/08/my-experiences-with-netbeans.html</link><author>noreply@blogger.com (Manikantan Narender nath)</author><thr:total>0</thr:total></item></channel></rss>
