<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>NetBeans Guru</title>
	<atom:link href="http://nbguru.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nbguru.wordpress.com</link>
	<description>"Learning NetBeans, the NetBeans way" - NetBeans Community Docs Contribution Coordinator</description>
	<pubDate>Fri, 25 Jul 2008 18:41:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>Day, full of news!</title>
		<link>http://nbguru.wordpress.com/2008/07/25/day-full-of-news/</link>
		<comments>http://nbguru.wordpress.com/2008/07/25/day-full-of-news/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 14:33:58 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
		
		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[NetCAT]]></category>

		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=292</guid>
		<description><![CDATA[Bravo!
Today, the NetBeans Dream Team page was updated, and I am now one of them. Yes, I was invited to join the team, and had accepted the offer. So, here I am as a NetBeans Community Docs Contribution Coordinator and Dream Team Member!
Second, Jiri Kovalsky, the Liaison officer, Technical Community Manager and NetCAT 6.5 Coordinator. [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Bravo!</p>
<p>Today, the NetBeans Dream Team page was updated, and I am now one of them. Yes, I was invited to join the team, and had accepted the offer. So, here I am as a <strong>NetBeans Community Docs Contribution Coordinator</strong> and <strong><a href="http://wiki.netbeans.org/NBDTCurrentMembers" target="_blank">Dream Team Member</a></strong>!</p>
<p>Second, <strong>Jiri Kovalsky</strong>, the Liaison officer, Technical Community Manager and <a href="http://qa.netbeans.org/processes/cat/65" target="_blank"><strong>NetCAT 6.5</strong></a> Coordinator. List is surely long and I am sorry If I missed something <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>Highest Scorer</h3>
<p>Today, he <a href="http://qa.netbeans.org/processes/cat/65/participants.html" target="_blank">announced</a> on demand of certain NetCAT participants, the points earned by every member. It was another shocker for me! I scored <strong>83 points </strong>as of <strong>25th July, 3:00 pm C.E.T.<br />
</strong></p>
<p>Simply awesome! NetCAT has just completed 2 weeks, we are in for some more surprises, so wait till monday as I come out with 2nd edition of my own NetCAT weekly.</p>
<p><em><strong>Summer Action Marathon continues&#8230;</strong></em></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nbguru.wordpress.com/292/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nbguru.wordpress.com/292/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/292/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=292&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2008/07/25/day-full-of-news/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/nvarun-128.jpg" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>taT &#124; Editor Windows Reactivated!</title>
		<link>http://nbguru.wordpress.com/2008/07/25/tat-editor-windows-reactivated-8/</link>
		<comments>http://nbguru.wordpress.com/2008/07/25/tat-editor-windows-reactivated-8/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 08:44:39 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[Platform]]></category>

		<category><![CDATA[Tips|Tricks]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=268</guid>
		<description><![CDATA[Hey,
I have been blogging around for a while on hyperlinks in NetBeans IDE, what about the API&#8217;s, yeah the NetBeans API&#8217;s that helped me achieve a crucial milestone, i.e. activating the Opened panes! Also, the members of OpenIDE mailing lists, for giving accurate suggestions for making it possible.
Tricks
You must see numerous Developer FAQ&#8217;s based on [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hey,</p>
<p>I have been blogging around for a while on hyperlinks in NetBeans IDE, what about the API&#8217;s, yeah the NetBeans API&#8217;s that helped me achieve a crucial milestone, i.e. activating the Opened panes! Also, the members of OpenIDE mailing lists, for giving accurate suggestions for making it possible.</p>
<h3 style="text-align:left;"><strong>Tricks</strong></h3>
<p style="text-align:left;">You must see numerous <a href="http://wiki.netbeans.org/NetBeansDeveloperFAQ#section-NetBeansDeveloperFAQ-EditorAndEditedFiles" target="_blank">Developer FAQ&#8217;s</a> based on Editor and Edited Files. Some of them referring to get access of relevant opened Window for editing. Still, something was missing. So, I would share what I experienced recently.</p>
<pre>TopComponent[] comps = TopComponent.getRegistry().getOpened();
for (int i = 0; i &lt; comps.length; i++) {
    Node[] arr = comps[i].getActivatedNodes();
    for (int j = 0; j &lt; arr.length; j++) {
        EditorCookie ec = (EditorCookie)
arr[j].getCookie(EditorCookie.class);
        if (ec != null) {
            JEditorPane[] panes = ec.getOpenedPanes();
            if (panes != null) {
                // USE panes
            }
        }
    }
}</pre>
<p>This has one issue, it no longers returns an array of <strong>TopComponent</strong>&#8217;s in the 1st line, in 6.0 and 6.1, I saw it returned <strong>Set&lt;TopComponent&gt;</strong>, so outer loop also changes like this-</p>
<pre>Set&lt;TopComponent&gt; comps = TopComponent.getRegistry().getOpened();
for (TopComponent tc: comps) {
    Node[] arr = tc.getActivatedNodes();
    for (int j = 0; j &lt; arr.length; j++) {
        EditorCookie ec = (EditorCookie)
arr[j].getCookie(EditorCookie.class);
        if (ec != null) {
            JEditorPane[] panes = ec.getOpenedPanes();
            if (panes != null) {
                // USE panes
            }
        }
    }
}</pre>
<p style="text-align:center;"><strong>What about My Usecase?</strong></p>
<p style="text-align:left;">Oh, yeah! I wanted to tell you about re-activating opened panes. After interacting with <strong>Wade</strong> on OpenIDE mailing lists. I created this method- <a href="http://wiki.netbeans.org/RevampedHyperlinkNavigation#section-RevampedHyperlinkNavigation-BackgroundProcessOpenHTMLThread" target="_blank">verifyHyperlinkStatus()</a>, please have a look, you might have to scroll a bit. So, I have commented 2 lines there-</p>
<pre>//final int index = k;
/*
After some coding...
*/
//tc[index].requestActive();</pre>
<p>tc[index] is a particular TopComponent instance obtained by iterating over an Array of <strong>TopComponent</strong>&#8217;s. <strong>Array?</strong> But, we have just discussed its <strong>Set&lt;TopComponent&gt;</strong> not an Array. You&#8217;re in for another surprise-</p>
<pre>//To obtain an array, use this-
final TopComponent[] tc = TopComponent.getRegistry().
getOpened().toArray(new TopComponent[0]);
//As mentioned in the following reference tutorial.</pre>
<p>Referenced Tutorial- <a href="http://wiki.netbeans.org/RevampedHyperlinkNavigation" target="_blank">http://wiki.netbeans.org/RevampedHyperlinkNavigation</a></p>
<p style="text-align:center;"><strong>final</strong>, but why?</p>
<p style="text-align:left;">Actually, when you deal with methods that required to run within a <strong>AWT Thread</strong>, invoked by various means, then the variables used, within their implemented <strong>run()</strong> method, if defined outside should be made final so as to prevent it from any modification. In Java, final modifier means that an identifier would be constant within a block of code. In this case, within a method- <strong>verifyHyperlinkStatus()</strong></p>
<p style="text-align:left;">So, <strong>index</strong> was modified as final, and was used within an <strong>AWT Thread</strong> inside a <strong>if-block</strong>, which invoked <strong>tc</strong>[index].<strong>requestActive()</strong>, i.e. to activate that window, if its already opened.</p>
<p style="text-align:center;"><strong>Why I am doing this?</strong></p>
<p style="text-align:left;">As I have to re-activate a opened editor window which was already opened by clicking a hyperlink in HTML file. So, I was earlier using <strong>setCaretPositon()</strong>, that&#8217;s why I had to <strong>requestActive()</strong>, to show that editor window again.</p>
<h3 style="text-align:left;"><strong>Tips to Remember</strong></h3>
<p style="text-align:left;"><strong>Vita</strong> suggested to use <strong>NbEditorUtilities</strong> instead of a combination of setCaretPosition() and requestActive(). So, I did that by commenting the following statements present in one of the <a href="http://wiki.netbeans.org/RevampedHyperlinkNavigation#section-RevampedHyperlinkNavigation-OverloadedMethods" target="_blank">setPosition()</a> methods.</p>
<pre>NbEditorUtilities.getLine(d, index, true).show(Line.SHOW_GOTO);
//pane[pos].setCaretPosition(index);</pre>
<p style="text-align:left;">Here, <strong>index</strong> is found using <strong>indexOf()</strong>, and d is the document, whose contents were used to retrieve the index. This is indeed a great utility, why? Because, it opens/re-activates the opened document and places the cursor at the beginning of the line, that was searched.</p>
<h3 style="text-align:left;">Final thoughts</h3>
<p style="text-align:left;">This time <strong>all was said and done</strong>, rather than the saying &#8220;All is said, more than done!&#8221;.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nbguru.wordpress.com/268/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nbguru.wordpress.com/268/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/268/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/268/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/268/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=268&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2008/07/25/tat-editor-windows-reactivated-8/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/nvarun-128.jpg" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>Hyperlink Navigation Renaissance</title>
		<link>http://nbguru.wordpress.com/2008/07/24/hyperlink-navigation-renaissance/</link>
		<comments>http://nbguru.wordpress.com/2008/07/24/hyperlink-navigation-renaissance/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 15:10:14 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
		
		<category><![CDATA[Community Docs]]></category>

		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[Platform]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=264</guid>
		<description><![CDATA[Howdy,
After lot of discussion on OpenIDE mailing lists, exploring Developer FAQ&#8217;s, exerting my wrist, flexing fingers and what not? Finally, hit the deck hard! Yeah, Hyperlink Navigation in NetBeans got smarter! Especially, for HTML documents.
While working on my Internship Project, I came across Hyperlink Navigation Tutorial, on platform.netbeans.org/tutorials!
Recently, I felt that the sample project needs [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Howdy,</p>
<p>After lot of discussion on OpenIDE mailing lists, exploring Developer FAQ&#8217;s, exerting my wrist, flexing fingers and what not? Finally, hit the deck hard! Yeah, Hyperlink Navigation in NetBeans got smarter! Especially, for HTML documents.</p>
<p>While working on my Internship Project, I came across <a href="http://platform.netbeans.org/tutorials/60/nbm-hyperlink.html" target="_blank">Hyperlink Navigation Tutorial</a>, on <strong>platform.netbeans.org/tutorials</strong>!</p>
<p>Recently, I felt that the sample project needs revision, and should implement some more usecases, which are commonly used. Think about rendering of HTML pages on Web Browser, you click on an anchor name, it takes you to the exact position in either same OR referenced document. Also, when you click external links, browser opens <strong>New Tab</strong>, and presents that page.</p>
<p>Ever thought of having a similar functionality in NetBeans, yes your favorite IDE. Just follow the following tutorial, to master hyperlinking in the IDE.</p>
<p>Have a look at the <strong>tutorial</strong>-<br />
<a href="http://wiki.netbeans.org/RevampedHyperlinkNavigation" target="_blank">http://wiki.netbeans.org/RevampedHyperlinkNavigation</a></p>
<p>Also, download following plugin, and it would add a sample project with all the code present in it, the one mentioned in tutorial, just Run that module, it will <strong>Install in Target Platform</strong>, and play with HTML files. Follow the instructions carefully.</p>
<blockquote>
<p style="text-align:center;">Created in <strong>6.0</strong>, compatible with <strong>6.0, 6.1, 6.5 (daily builds</strong>)!</p>
</blockquote>
<p><strong>Samples | NetBeans Modules</strong> Project-<br />
<a href="http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=11222" target="_blank">http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=11222</a></p>
<blockquote>
<p style="text-align:center;"><strong></strong></p>
<p style="text-align:center;"><a href="http://technorati.com/faves?sub=addfavbtn&amp;add=http://nbguru.wordpress.com"><img class="aligncenter" src="http://static.technorati.com/pix/fave/tech-fav-1.png" alt="Add to Technorati Favorites" /></a></p>
</blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nbguru.wordpress.com/264/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nbguru.wordpress.com/264/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/264/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=264&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2008/07/24/hyperlink-navigation-renaissance/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/nvarun-128.jpg" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>

		<media:content url="http://static.technorati.com/pix/fave/tech-fav-1.png" medium="image">
			<media:title type="html">Add to Technorati Favorites</media:title>
		</media:content>
	</item>
		<item>
		<title>XML Hyperlink Project Update</title>
		<link>http://nbguru.wordpress.com/2008/07/22/xml-hyperlink-project-update/</link>
		<comments>http://nbguru.wordpress.com/2008/07/22/xml-hyperlink-project-update/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 11:40:27 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
		
		<category><![CDATA[DTD]]></category>

		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[Personal]]></category>

		<category><![CDATA[XML]]></category>

		<category><![CDATA[nb-61]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=258</guid>
		<description><![CDATA[Recently,
I blogged about How to Hyperlink XML Layer, with the bit update on my project as well. So, DTD file, if exists, got opened when I click on ARGUMENT, opening TAG Token Id&#8217;s, like &#60;filesystem&#62;&#60;file name=&#8221;"&#62;&#60;/file&#62;&#60;/filesystem&#62;
See the italics and bold faced text, they are hyperlinked. So, clicking them I am directed to the apt DTD [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Recently,</p>
<p>I blogged about <strong>How to Hyperlink XML Layer</strong>, with the bit update on my project as well. So, DTD file, if exists, got opened when I click on ARGUMENT, opening TAG Token Id&#8217;s, like &lt;<em>filesystem</em>&gt;&lt;<em>file</em> <strong>name</strong>=&#8221;"&gt;&lt;/file&gt;&lt;/filesystem&gt;</p>
<p>See the italics and bold faced text, they are hyperlinked. So, clicking them I am directed to the apt DTD file within the IDE. Earlier what happened, when I clicked the links again, file which is actually a TopComponent opened as Editor Window, was not requesting focus.</p>
<blockquote>
<p style="text-align:center;"><strong>Navigation got smarter</strong></p>
</blockquote>
<p>However, now its working&#8230;If I click umpteen times, I will be directed to the doc same no. of times. You can get to see this feature in the <strong><a href="http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=11222" target="_blank">Revamped Hyperlink Navigation</a> Tutorial</strong>, based on a <a href="http://platform.netbeans.org/tutorials/60/nbm-hyperlink.html" target="_blank">tutorial</a>. I have developed a plugin for that for the time being, though expect the plugin to get updated soon.</p>
<blockquote>
<p style="text-align:center;"><strong>NetBeans API&#8217;s (Lexer API) rocks!</strong></p>
</blockquote>
<p><em><strong>Enjoy Technology&#8230;Enjoy NetBeans</strong></em></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nbguru.wordpress.com/258/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nbguru.wordpress.com/258/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/258/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/258/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=258&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2008/07/22/xml-hyperlink-project-update/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/nvarun-128.jpg" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>NetCAT 6.5 Weekly &#124; Report #1</title>
		<link>http://nbguru.wordpress.com/2008/07/21/netcat-65-weekly-report-1/</link>
		<comments>http://nbguru.wordpress.com/2008/07/21/netcat-65-weekly-report-1/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 05:39:23 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
		
		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[NetCAT]]></category>

		<category><![CDATA[Reviews]]></category>

		<category><![CDATA[nb-65]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=250</guid>
		<description><![CDATA[Beginning
NetCAT 6.5 began on 15th July, I got an unexpected amount of mails, many people (incl. of me) were shocked to recieve such amount of mails. Many newbie&#8217;s are taking part this time, even I&#8217;m participating for the 1st time!
It wasn&#8217;t a problem for the experienced NetCATian&#8217;s who are actually termed as NetCAT Veterans.
What I [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3 style="text-align:left;"><strong>Beginning</strong></h3>
<p style="text-align:left;">NetCAT 6.5 <a href="http://nbguru.wordpress.com/2008/07/15/netcat-65-begins/" target="_blank">began</a> on <strong>15th July</strong>, I got an unexpected amount of mails, many people (incl. of me) were shocked to recieve such amount of mails. Many newbie&#8217;s are taking part this time, even I&#8217;m participating for the 1st time!</p>
<p style="text-align:left;">It wasn&#8217;t a problem for the experienced <strong>NetCATian&#8217;s</strong> who are actually termed as <strong>NetCAT Veterans.</strong></p>
<h3 style="text-align:left;"><strong>What I missed&#8230;</strong></h3>
<p style="text-align:left;"><strong>Jiri Kovalsky</strong>, NetCAT Coordinator had given the NetCAT Team, 1st task for the week, and it was a survey, to be taken by us. However, due to some unavoidable circumstances I couldn&#8217;t fill it up. Any issues, not at all I lost a chance to gain <strong>5 points</strong>! Anyways, more tasks to follow soon and I would hopefully complete those&#8230;</p>
<h3 style="text-align:left;"><strong>What I did&#8230;<br />
</strong></h3>
<p style="text-align:left;">Answered a lot of mails, queried as well! It was a breath-taking first 2-3 days! Now, I have filtered mails (on my mail account), that I don&#8217;t want to read OR irrelevant to me, with respect to this program. Also, my primary focus is on <strong>PHP</strong> and <strong>Documentation </strong>(you know why ;)). Soon, I will review docs as well, as there are no at present&#8230;</p>
<p style="text-align:left;"><strong>Bugs Filed-<br />
</strong>Filed <strong>5 </strong>bugs, <strong>2</strong> were resolved for <strong>duplicacy</strong> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> However, <strong>1</strong> of the other <strong>3</strong>, getting approved to be fixed for the next <strong>Milestone</strong>, probably Beta version (not sure, though).</p>
<p style="text-align:left;"><strong>Others-<br />
</strong>Wrote an article on my other blog- <a href="http://bondprogrammers.blogspot.com/2008/07/article-milestone-or-daily-builds.html" target="_blank">Milestone OR Daily Builds</a>!</p>
<h3 style="text-align:left;">New Features</h3>
</p>
<p style="text-align:left;">This section would list the features I saw during the past 1 week-</p>
<ul>
<li><strong><a href="http://nbguru.wordpress.com/2008/07/08/netbeans-ide-65-milestone-1/" target="_blank">Milestone 1</a> - </strong><br />
I am not using it anymore, click it for more info about the features.</li>
<li><strong>NetBeans Platform-</strong><br />
I came across <strong>1</strong> feature, which I had also mentioned in my Milestone blog entry, that it was a bug.</li>
<li>Actually, its not&#8230; I&#8217;m talking about<strong> &#8220;Install/Reload in Target Platform&#8221;</strong>. Its an enhancement that has been done for removing redundancy.</li>
<li>When you create a Module, and for a preview, you click on the above Menu Item for result. Though, from now on you would see it <strong>disabled</strong>, and Module will install in Target Platform, only by <strong>F6</strong>!</li>
<li>When the Module is running, see the Menu Item again, now its enabled for Reload. Cool, isn&#8217;t it?</li>
</ul>
<h3 style="text-align:left;">NetBeans Builds&#8230;</h3>
<ul>
<li>Milestones- <strong><a href="http://bits.netbeans.org/download/6.5/m1/" target="_blank">Milestone 1</a></strong></li>
<li>Daily Builds- <a href="http://bits.netbeans.org/download/trunk/nightly/latest/" target="_blank"><strong>Dev Build 200807101204</strong></a>, <strong><a href="http://bits.netbeans.org/download/trunk/nightly/latest/" target="_blank">Dev Build 200807170007</a></strong></li>
</ul>
<blockquote>
<p style="text-align:center;"><strong>DISCLAIMER</strong><br />
This NetCAT Weekly Report #1, is my personal report on what I experienced during a particular week.<br />
Its not related in any respect with NetCAT organisers.</p>
</blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nbguru.wordpress.com/250/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nbguru.wordpress.com/250/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/250/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/250/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/250/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=250&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2008/07/21/netcat-65-weekly-report-1/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/nvarun-128.jpg" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>taT &#124; Reload Debugging (debug-fix-nb)</title>
		<link>http://nbguru.wordpress.com/2008/07/17/tat-reload-debugging-7/</link>
		<comments>http://nbguru.wordpress.com/2008/07/17/tat-reload-debugging-7/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 17:48:43 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
		
		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[Tips|Tricks]]></category>

		<category><![CDATA[nb-61]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=223</guid>
		<description><![CDATA[Just few days back, I talked about that its rather a good practice to debug, not to run! While following that, I discovered another thing, which was there for quite some time, but I didn&#8217;t notice it, as I didn&#8217;t debug  
    &#60;target name="debug-fix-nb" if="netbeans.home"
depends="init,-pre-debug-fix,compile-single"&#62;
        &#60;nbjpdareload&#62;
            &#60;fileset includes="${fix.class}*.class"
dir="${build.classes.dir}"/&#62;
        &#60;/nbjpdareload&#62;
    &#60;/target&#62;
You must be thinking, what&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Just few days back, I talked about that its rather a good practice to <a href="http://nbguru.wordpress.com/2008/07/11/debug-dont-run/" target="_blank">debug, not to run</a>! While following that, I discovered another thing, which was there for quite some time, but I didn&#8217;t notice it, as I didn&#8217;t debug <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<pre><strong> </strong>   &lt;target name="debug-fix-nb" if="netbeans.home"
depends="init,-pre-debug-fix,compile-single"&gt;
        &lt;nbjpdareload&gt;
            &lt;fileset includes="${fix.class}*.class"
dir="${build.classes.dir}"/&gt;
        &lt;/nbjpdareload&gt;
    &lt;/target&gt;</pre>
<p>You must be thinking, what&#8217;s &#8220;debug-fix-nb&#8221;, its actually an Ant target, ran while we apply Code fixes during Debugging! Shocking, Indeed! I felt the same way, actually while building a module to run it in Target Platform, I realized I could reload it as well, without building whole module again.</p>
<p style="text-align:center;">Goto <strong>Installation Directory</strong>, and look for <strong>harness/common.xml</strong><br />
It contains many Ant targets, including the above&#8230;</p>
<p>Similar functionality exists, when you want to reload while debugging, <strong>HOW? </strong>Here lies the trick, while I was debugging a Module in Target Platform, I realized an error just after a <strong>break-point</strong>, so thought of fixing code, just before error could be detected.</p>
<p>Then, I came across an <strong>Icon</strong> in Toolbar, whose <strong>tool-tip</strong> suggested its used for applying code fixes. So, I made changes wherever needed, and clicked on that Icon, it reloaded that class and the debugging continued, from same point!</p>
<p>Now, that&#8217;s what I call a utility. Amazing, never thought debugging could be fun <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><em><strong>enJoy Technology&#8230;</strong></em></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nbguru.wordpress.com/223/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nbguru.wordpress.com/223/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/223/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=223&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2008/07/17/tat-reload-debugging-7/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/nvarun-128.jpg" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>NetCAT 6.5 Begins!</title>
		<link>http://nbguru.wordpress.com/2008/07/15/netcat-65-begins/</link>
		<comments>http://nbguru.wordpress.com/2008/07/15/netcat-65-begins/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 12:15:19 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
		
		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[NetCAT]]></category>

		<category><![CDATA[Reviews]]></category>

		<category><![CDATA[nb-65]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=228</guid>
		<description><![CDATA[Howdy,
So, we begin, yes I am also now a member of NetCAT Team, more specifically for 6.5 Release!
Day One- Amazing start, great rush of mails, need to keep an hourly check to ease filtering. So many  issues being filed, few enhancement requests, many new members (including me).
Maybe I am just a bit over excited, [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Howdy,</p>
<p>So, we begin, yes I am also now a member of <a href="http://qa.netbeans.org/processes/cat/65/participants.html" target="_blank"><strong>NetCAT Team</strong></a>, more specifically for 6.5 Release!</p>
<p><strong>Day One</strong>- Amazing start, great rush of mails, need to keep an hourly check to ease filtering. So many <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> issues being filed, few enhancement requests, many new members (including me).</p>
<p>Maybe I am just a bit over excited, as its my first day and I guess, experienced NetCAT members would have a better idea, whether its good/bad start&#8230;</p>
<p><strong>NetCAT 6.5 Coordinator- </strong>He&#8217;s the Technical Community Manager, NBIG Coordinator (I guess), and what not&#8230;..He&#8217;s <strong>Jiri (Jirka) Kovalsky.</strong> He&#8217;s managing this program again.</p>
<p>I myself posted 2 bugs, one of them turning out to be duplicate <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> More information in my weekly reports. I just downloaded <strong><a href="http://bits.netbeans.org/download/trunk/nightly/latest/" target="_blank">Dev Build</a></strong> (10th July), it has better splash screen than Milestone 1, and some cool features will post about them soon.</p>
<p>By the way, this is the beginning of a new era of blog series, it would be a weekly series, as I will write a report on my experience over here!</p>
<p><em><strong>sTay Tuned for More&#8230;</strong></em></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nbguru.wordpress.com/228/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nbguru.wordpress.com/228/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/228/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/228/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/228/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=228&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2008/07/15/netcat-65-begins/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/nvarun-128.jpg" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>NetBeans Quiz &#124; Ends!</title>
		<link>http://nbguru.wordpress.com/2008/07/15/netbeans-quiz-ends/</link>
		<comments>http://nbguru.wordpress.com/2008/07/15/netbeans-quiz-ends/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 03:58:17 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
		
		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[Quiz]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=227</guid>
		<description><![CDATA[Hello,
As you know, I wrote in my previous post- NB Quiz &#124; No More Quizzing!, I said that no more quizzing was possible, as Quiz came to an end!
Today, I announce Grand Prize Winner- Abdullah Chougle, he has won himself a Apple MacBook Air!
Wow, amazing another laptop goes from my reach. Jokes apart, lets congratulate [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hello,</p>
<p>As you know, I wrote in my previous post- <a href="http://nbguru.wordpress.com/2008/07/04/netbeans-quiz-7/" target="_blank">NB Quiz | No More Quizzing!</a>, I said that no more quizzing was possible, as Quiz came to an end!</p>
<p>Today, I announce Grand Prize Winner- <strong>Abdullah Chougle, </strong>he has won himself a Apple MacBook Air!</p>
<p>Wow, amazing another laptop goes from my reach. Jokes apart, lets congratulate <strong>Abdullah,</strong> and wish him good luck for future contests. I hope to win something next time.</p>
<p>It was a pleasure to bring this bi-weekly series to you all. Its time to end it here, and move on. Good Luck <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<blockquote>
<p style="text-align:center;"><strong>NetBeans Quizzes</strong> - brought to you by <span style="text-decoration:underline;">NetBeans Guru</span>!</p>
<p style="text-align:center;"><a href="http://technorati.com/faves?sub=addfavbtn&amp;add=http://nbguru.wordpress.com"><img class="aligncenter" src="http://static.technorati.com/pix/fave/tech-fav-1.png" alt="Add to Technorati Favorites" /></a></p>
</blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nbguru.wordpress.com/227/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nbguru.wordpress.com/227/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/227/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=227&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2008/07/15/netbeans-quiz-ends/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/nvarun-128.jpg" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>

		<media:content url="http://static.technorati.com/pix/fave/tech-fav-1.png" medium="image">
			<media:title type="html">Add to Technorati Favorites</media:title>
		</media:content>
	</item>
		<item>
		<title>Article &#124; Debug, don&#8217;t Run!</title>
		<link>http://nbguru.wordpress.com/2008/07/11/debug-dont-run/</link>
		<comments>http://nbguru.wordpress.com/2008/07/11/debug-dont-run/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 14:30:53 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
		
		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[Others]]></category>

		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=222</guid>
		<description><![CDATA[Hi,
Why I wrote &#8220;Debug, don&#8217;t Run&#8221;? There lies the simplest of reasons, I am working on my internship project, and I was writing an algorithm to map PUBLIC_ID -&#62; URI, read EntityCatalog for more info.
The idea present over there, lets a user to register a PUBLIC_ID in System Filesystem, same way I can retrieve the [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hi,</p>
<p>Why I wrote <strong>&#8220;Debug, don&#8217;t Run&#8221;</strong>? There lies the simplest of reasons, I am working on my internship project, and I was writing an algorithm to map PUBLIC_ID -&gt; URI, read <a href="http://bits.netbeans.org/dev/javadoc/org-openide-util/org/openide/xml/EntityCatalog.html" target="_blank"><strong>EntityCatalog</strong></a> for more info.</p>
<p>The idea present over there, lets a user to register a PUBLIC_ID in System Filesystem, same way I can retrieve the existent PUBLIC_ID from there.</p>
<p style="text-align:center;"><strong>Why not Run?</strong></p>
<p>While creating the algo, I wrote a method, which would be invoked by the master method (which runs the algo), that would let me replace Whitespaces with Underscores!</p>
<p>I thought it looked good, eye-catchy, sleek, compact and nice utility. Though, when I ran the NBM, it choked, because of that method which ran into infinity.</p>
<p style="text-align:center;"><strong>Do Debug!</strong></p>
<p>I didn&#8217;t knew what happened, made changes in rest of the code, thinking it to be fine, as it looked compact&#8230;Then, I realised to Debug it, to find the problem, and to my surprise, that sleek, compact looking method was the main cause!</p>
<p><strong>GREAT!!!</strong></p>
<p>I used to do a lot of debugging in C++/Java Applications, Database Applications (JDBC-enabled), I&#8217;m still new to NetBeans Platform, trying to learn as much as possible!</p>
<p style="text-align:center;"><strong>Always Remember&#8230;</strong></p>
<p>So, always keep in mind, to debug umpteen times, before you get things right, it will surely save you a lot of time, and debug your programming practices too!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nbguru.wordpress.com/222/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nbguru.wordpress.com/222/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/222/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/222/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/222/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=222&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2008/07/11/debug-dont-run/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/nvarun-128.jpg" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>How To Hyperlink XML Layer (Part 4)</title>
		<link>http://nbguru.wordpress.com/2008/07/10/how-to-hyperlink-xml-layer-part-4/</link>
		<comments>http://nbguru.wordpress.com/2008/07/10/how-to-hyperlink-xml-layer-part-4/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 07:11:17 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
		
		<category><![CDATA[DTD]]></category>

		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[Personal]]></category>

		<category><![CDATA[XML]]></category>

		<category><![CDATA[nb-61]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=220</guid>
		<description><![CDATA[Hey,
As you know, I have been running a blog series on &#8220;Playing with XML Layer&#8221;. I have written 3 parts till now, that were tips and Tricks&#8230;
Its time for Part 4, though this isn&#8217;t any tips and Tricks, as its an abstract tutorial to hyperlink XML Layer, which conforms to any Document-Type-Definition.
Already there exists a [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hey,</p>
<p>As you know, I have been running a blog series on &#8220;Playing with XML Layer&#8221;. I have written 3 parts till now, that were tips and Tricks&#8230;</p>
<p>Its time for Part 4, though this isn&#8217;t any tips and Tricks, as its an abstract tutorial to hyperlink XML Layer, which conforms to any Document-Type-Definition.</p>
<p>Already there exists a <a href="http://platform.netbeans.org/tutorials/60/nbm-hyperlink.html" target="_blank"><strong>tutorial</strong></a> to hyperlink the value contained within the HREF attribute (HTML files) in Platform Tutorials.</p>
<p>At the bottom of that Tutorial, they have mentioned what could be the <strong>Next Steps</strong> to follow, basically <strong>Work Ahead</strong>!</p>
<blockquote>
<p style="text-align:center;">Working with JSP and <strong>XML</strong> documents. (Same principle as above.)</p>
</blockquote>
<p style="text-align:left;"><em><span style="text-decoration:underline;"><strong>Implementation</strong></span></em></p>
<p style="text-align:left;">As you can see they have mentioned in one of the points, that XML documents can follow the same principle. So, as part of my <strong><a href="https://nbxmlhyperlinking.dev.java.net" target="_blank">internship project</a></strong>, I worked to hyperlink the ELEMENT names and their ATTLIST attributes.</p>
<p style="text-align:left;">For instance;</p>
<pre style="text-align:left;">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd"&gt;
&lt;filesystem&gt;
    &lt;folder name="Actions"&gt;
        &lt;folder name="Tools"&gt;
            &lt;file name="org-nvarun-tat-SayCheez.instance"/&gt;
        &lt;/folder&gt;
    &lt;/folder&gt;
    &lt;!--Remember SayCheez in earlier parts,
        this is just a snippet of that XML Layer--&gt;
&lt;/filesystem&gt;</pre>
<p>Now, I made use of XMLTokenId, as the reference tutorial made use of HTMLTokenId, and did the implementation based on XMLTokenId constants.</p>
<blockquote>
<p style="text-align:center;"><strong>Note</strong>-<br />
The required HyperlinkProvider instance will be registered under <strong>text/xml</strong>, so any XML file with that MIME Type will hyperlink as suggested.</p>
</blockquote>
<p><em><span style="text-decoration:underline;"><strong>Features</strong></span></em></p>
<ul>
<li>When you click on filesystem/folder/file, <span style="text-decoration:line-through;">a Dialog Box prompts the user with a message that you have clicked right hyperlink</span>, IDE opens the DTD file represented by PUBLIC_ID.</li>
<li>For that to happen, click on PUBLIC_ID first to let the IDE know which DTD, does the XML is specified by, then PUBLIC_ID -&gt; URI mapping takes place (redesigning, refer to XML Code Completion support).</li>
<li>Also, <span style="text-decoration:line-through;">it extracts the DTD file</span> clicking the SYSTEM_ID (if present is hyperlinked) <span style="text-decoration:line-through;">conforms to and hyperlinks it, clicking it</span> will launch the Browser with the identified URL.</li>
</ul>
<p><em><span style="text-decoration:underline;"><strong>Work Ahead</strong></span></em></p>
<p>When you click on filesystem/folder/file, <span style="text-decoration:line-through;">locate the DTD file and open in NetBeans IDE</span>, with specific caret position. As you know, <strong><a href="http://blogs.sun.com/angad" target="_blank">Angad</a></strong> has already created a module for DTD-intra-hyperlinking! So, you would be able to enjoy both functionalities, similar to the one existing in <strong>IntelliJ IDEA</strong>!</p>
<blockquote>
<p style="text-align:center;"><strong>Updated on July 14, 2008</strong></p>
</blockquote>
<p><em><strong>sTay Tuned for More&#8230;</strong></em></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nbguru.wordpress.com/220/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nbguru.wordpress.com/220/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/220/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=220&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2008/07/10/how-to-hyperlink-xml-layer-part-4/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/nvarun-128.jpg" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>taT &#124; Editor Fold Utility</title>
		<link>http://nbguru.wordpress.com/2008/07/08/tat-editor-fold-utility-6/</link>
		<comments>http://nbguru.wordpress.com/2008/07/08/tat-editor-fold-utility-6/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 07:14:01 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
		
		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[Tips|Tricks]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=217</guid>
		<description><![CDATA[Hey,
Another tips and Tricks for today! Whenever you have created a JFrame in NetBeans, the auto-generated code which is in sync with Matisse Builder, has a method initComponents() initially, right?
When you make a switch to the Source view, you see a collapsed section of code, with a label on it- &#8220;Generated Code&#8221;. Ever thought, how [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hey,</p>
<p>Another tips and Tricks for today! Whenever you have created a JFrame in NetBeans, the auto-generated code which is in sync with Matisse Builder, has a method <strong>initComponents()</strong> initially, right?</p>
<p>When you make a switch to the Source view, you see a collapsed section of code, with a label on it- &#8220;Generated Code&#8221;. Ever thought, how it happens.</p>
<p style="text-align:center;"><strong>Here&#8217;s the trick</strong></p>
<p style="text-align:left;">Write code between following comments;</p>
<pre style="text-align:left;">        //&lt;editor-fold defaultstate="$state" desc="$label"&gt;
        /* Place your code over here */
        //&lt;/editor-fold&gt;</pre>
<p>Replace <strong>$state </strong>with expanded/collapsed and <strong>$label</strong> with any name/phrase you choose. Also, replace the following;</p>
<pre style="text-align:left;">        /* Place your code over here */</pre>
<p>with your code, it could be either inside a method, or inside a Java class, wrapping various methods, variable declarations etc.</p>
<p style="text-align:center;"><strong>Tips to Remember</strong></p>
<p style="text-align:left;">Keep in mind that, the editor-fold tags must be inside same block of code, either inside a Java class, or inside a method! You can&#8217;t opening tag inside a Java class, and closing tag inside a method OR vice-versa!</p>
<p style="text-align:left;">It works in all Java classes. Also, its basic use is to categorize the sections of code. Like, you may have an editor-fold for only variable declarations, and/or for user created methods, and/or for getter/setter methods!</p>
<p style="text-align:left;"><em><strong>eNjoy Technology&#8230;</strong></em></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nbguru.wordpress.com/217/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nbguru.wordpress.com/217/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/217/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=217&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2008/07/08/tat-editor-fold-utility-6/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/nvarun-128.jpg" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>NetBeans IDE 6.5 Milestone 1</title>
		<link>http://nbguru.wordpress.com/2008/07/08/netbeans-ide-65-milestone-1/</link>
		<comments>http://nbguru.wordpress.com/2008/07/08/netbeans-ide-65-milestone-1/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 05:49:33 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
		
		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=215</guid>
		<description><![CDATA[Hey,
The wait is over, as NetBeans IDE 6.5 Milestone 1, is available for download! Yes, a new version is out, and I am really excited to see new features! Before I go any further, I must tell you what I missed in NetBeans 6.0, 6.1 IDE-

Action Wizard with no scrollbar, was really troublesome, as I [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hey,</p>
<p>The wait is over, as <strong>NetBeans IDE 6.5 Milestone 1</strong>, is available for <a href="http://www.netbeans.org/servlets/NewsItemView?newsItemID=1254" target="_blank">download</a>! Yes, a new version is out, and I am really excited to see new features! Before I go any further, I must tell you what I missed in NetBeans 6.0, 6.1 IDE-</p>
<ol>
<li><strong>Action Wizard</strong> with no scrollbar, was really troublesome, as I had to change my system resolution to <strong>1024 by 768</strong>, everytime I wanted to use this Wizard!</li>
<li>Proper <strong>Language Integration Framework</strong>, there have been a lot of discussion on the mailing lists, on having a unified language integration framework (I am still exploring Generic Language Framework).</li>
</ol>
<p>Few months back, I have started exploring the NetBeans Platform for <strong>RCP</strong> and I have recently contributed a lot of documentation on <a href="http://nbguru.wordpress.com/proj-netbeans/tryst-with-platform/" target="_blank"><strong>XML Layer</strong></a>! So, the above points are related to <strong>NetBeans Platform</strong>, as I haven&#8217;t used the IDE for any other type of projects for so long!</p>
<p>Also, I missed out on <strong>NetCAT 6.0</strong> and <strong>CA Survey 6.1</strong>! I was new to the community when NetCAT happened, and at the time of Survey, I was having exams! Anyways, I am enjoying dealing with RCP on a daily basis, and hope to make some cool features for the IDE, some day!</p>
<p style="text-align:left;"><span style="text-decoration:underline;"><em><strong>What I saw today?</strong></em></span></p>
<p style="text-align:center;"><strong>General Changes</strong></p>
<p><span style="text-decoration:line-through;">The <strong>Action Wizard</strong> </span><span style="text-decoration:line-through;">has got a scrollbar, what a relief! Phew&#8230; I can feel it, its such an important enhancement, will save a lot of time.</span> Though, I was not able to <strong>Install/Reload in Target Platform</strong>, it was disabled don&#8217;t know why, might be a bug! <strong>Plugin Manager</strong> had so many new plugins available, support for Scala, Groovy is also there! Many modules from <strong>contrib</strong> were present as well.</p>
<blockquote>
<p style="text-align:center;">New font colors, for Java source files, XML Layer! I guess the font has changed as well.<br />
FONT resembles the ONE used in <strong>Ubuntu</strong>!</p>
</blockquote>
<p>Hey, I also saw <strong>Quick Search Toolbar</strong>, <a href="http://blogs.sun.com/geertjan" target="_blank">Geertjan</a> had blogged about it recently, and there exists <a href="http://netbeans.dzone.com/" target="_blank">Dzone Articles</a> as well. Though, it doesn&#8217;t seem to work in the Milestone 1, however expect all these features and many more <a href="http://www.netbeans.org/servlets/NewsItemView?newsItemID=1254" target="_blank">listed on NetBeans.org</a>, to be available in <strong>NB 6.5 IDE Beta Version</strong>!</p>
<p style="text-align:center;"><strong>Java Editor and GUI Matisse Builder<br />
</strong>
</p>
<p style="text-align:left;">Better parsing; control over &#8220;<a href="http://blogs.sun.com/geertjan/entry/prevent_the_generation_of_fully" target="_blank">Qualified Names of Classes</a>&#8220;; enhanced visiblity of code; changes in Action- &#8220;Encapsulate Fields&#8230;&#8221;, more options now available such as <em>Insert Point, Sort By, Javadoc</em>&#8230;</p>
<p style="text-align:left;"><span style="text-decoration:underline;">Insert Point</span><br />
Lets you insert the getter/setter&#8217;s OR both, above/below any existing method in code, by selecting an option from DropDown list.</p>
<p style="text-align:left;"><span style="text-decoration:underline;">Sort By<br />
</span>Lets you sort the getter/setter&#8217;s OR both, to be generated in a specific order, by selecting an option from its DropDown list.</p>
<p style="text-align:left;"><span style="text-decoration:underline;">Javadoc</span><br />
Lets you create Javadoc for your getter/setter&#8217;s OR both, by selecting following options from DropDown list -</p>
<ol>
<li>Create default comments</li>
<li>Copy from field</li>
<li>None</li>
</ol>
<p style="text-align:left;">
<p style="text-align:left;">Refer this <a href="http://nbguru.wordpress.com/2008/04/27/tat-space-around-component-1/" target="_blank">tips and Tricks</a>, apply those steps in this Milestone, you would see a change. I will update that trick for this Milestone soon!</p>
<p style="text-align:left;"><span style="text-decoration:underline;"><em><strong>Suggestions</strong></em></span></p>
<p>I would suggest you all to have a look and feel of the IDE, make some sample applications, test, review and give feedback! You may do it more efficiently by participating in <a href="http://www.netbeans.org/servlets/NewsItemView?newsItemID=1252" target="_blank">NetCAT 6.5</a>! I have applied and waiting for the selection results.</p>
<p><em><strong>sTay Tuned for More Reviews&#8230;</strong></em></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nbguru.wordpress.com/215/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nbguru.wordpress.com/215/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=215&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2008/07/08/netbeans-ide-65-milestone-1/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/nvarun-128.jpg" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>taT &#124; Play with XML Layer (Part 3)</title>
		<link>http://nbguru.wordpress.com/2008/07/07/tat-play-with-xml-layer-part-three-5/</link>
		<comments>http://nbguru.wordpress.com/2008/07/07/tat-play-with-xml-layer-part-three-5/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 13:32:12 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
		
		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[Platform]]></category>

		<category><![CDATA[Tips|Tricks]]></category>

		<category><![CDATA[XML]]></category>

		<category><![CDATA[nb-60]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=188</guid>
		<description><![CDATA[Hey,
So, I am writing a third part, Wow  Really, I must admit, I just didn&#8217;t thought I would write so frequently, and that too, on NetBeans Platform. Its something, that needs a lot of time to understand its usability, functionality and extensibility&#8230;  Anyways, in my previous entry- Part Two of this series, I [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hey,</p>
<p>So, I am writing a <strong>third part</strong>, Wow <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> Really, I must admit, I just didn&#8217;t thought I would write so frequently, and that too, on <strong>NetBeans Platform</strong>. Its something, that needs a lot of time to understand its usability, functionality and extensibility&#8230; <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Anyways, in my previous entry- <a href="http://nbguru.wordpress.com/2008/06/24/tat-play-with-xml-layer-part-two-4/" target="_blank">Part Two</a> of this series, I wrote on how to transform an Action type from one form to another- <strong>CallableSystem</strong> TO <strong>Cookie</strong>! By the way, I have already done the reversal in form of a tutorial, and contributed to the <a href="http://wiki.netbeans.org/TransformConditionallyToAlwaysEnabledAction" target="_blank">Community Docs</a>.</p>
<blockquote>
<p style="text-align:center;">Here, I present to you tricks to add/remove entries into/from XML Layer, that would enable/disable context-aware actions.</p>
</blockquote>
<p><span style="text-decoration:underline;"><em><strong>Pre-requisites</strong></em></span></p>
<p>Just have a look at this webpage- <a href="http://nbguru.wordpress.com/proj-netbeans/tryst-with-platform/" target="_blank">Tryst with Platform</a>! Its basically an index of what all documentations (<strong>11</strong>), I have contributed to the NetBeans Community, be it blogs, tutorials, articles, tips and Tricks, Dzone entries, etc, in the last week of June.</p>
<p><span style="text-decoration:underline;"><em><strong>Tips and Tricks</strong></em></span></p>
<p>Following tips/tricks apply to CookieAction, not CallableSystemAction! Also, check out the references section (at the end of this entry), this part of blog series is inspired by those references!</p>
<blockquote>
<p style="text-align:center;">Syntax of the <strong>MIME Type</strong>: <em>type/subtype</em></p>
</blockquote>
<p><a href="http://nbguru.files.wordpress.com/2008/06/reg-shortcut-keys.jpg"> </a></p>
<p style="text-align:center;"><strong>Tricks for Context Menu Items</strong></p>
<p style="text-align:left;"><em>Trick #1</em> - If making the action, <strong>file type</strong> context-sensitive. Then, you have to add an entry in folder &#8220;Loaders&#8221; as follows into XML Layer.</p>
<pre>    &lt;folder name="Loaders"&gt;
        &lt;folder name="type"&gt;
            &lt;folder name="subtype"&gt;
                &lt;folder name="Actions"&gt;
                    &lt;file name="org-nvarun-tat-SayCheez.instance"/&gt;
                &lt;/folder&gt;
            &lt;/folder&gt;
        &lt;/folder&gt;
    &lt;/folder&gt;</pre>
<p style="text-align:left;">
<p style="text-align:left;"><em>Trick #2</em> - If making the action, <strong>editor</strong> context-sensitive. Then, you have to add an entry in folder &#8220;Editors&#8221; as follows into XML Layer.</p>
<p style="text-align:left;">
<pre>    &lt;folder name="Editors"&gt;
        &lt;folder name="type"&gt;
            &lt;folder name="subtype"&gt;
                &lt;folder name="Popup"&gt;
                    &lt;file name="org-nvarun-tat-SayCheez.instance"/&gt;
                &lt;/folder&gt;
            &lt;/folder&gt;
        &lt;/folder&gt;
    &lt;/folder&gt;</pre>
<p style="text-align:left;">
<p style="text-align:center;"><strong>Tips To Remember</strong></p>
<p>In our case, I replaced <em>type</em> with <strong>text</strong> and <em>subtype</em> with <strong>x-java</strong>! What I did, I registered the Action into the <strong>Java Editor Context Menu</strong>, i.e. whenever you open a <strong>Java File</strong>, and do right-click, <strong>popup menu</strong> would show the above action. Also, when you expand relevant Package Node of a Project Node, to uncover Java File Nodes, right-click to see the Action in the popup menu!</p>
<p style="text-align:left;">However, it would be still be <strong>enabled</strong>, if you had earlier chosen <em>EditorCookie, EditCookie, DataObject </em>OR<em> OpenCookie</em>. It would be <strong>disabled</strong>, if you choose <em>Project interface</em> as Cookie class.</p>
<p style="text-align:left;"><em><span style="text-decoration:underline;"><strong>Now, what?<br />
</strong></span></em>
</p>
<p style="text-align:left;">You can find out what all MIME Types are registered into the IDE, by clicking on <strong>Tools &gt; Options,</strong> and click on button <strong>Advanced Options</strong>! There you expand nodes in this order- <strong>IDE Configuration &#8212;&gt; System &#8212;&gt; Object Types</strong></p>
<p style="text-align:left;">Now, select any sub-node, and you could see its property sheet on right panel, where all possible <strong>MIME Types</strong> for that particular<strong> Object Type</strong> are listed. Try this on existing MIME Types, also you may do this for your own created languages (which you might like to integrate into the IDE).</p>
<p><em><span style="text-decoration:underline;"><strong>References<br />
</strong></span></em>[A] <a href="http://en.wikipedia.org/wiki/MIME#Content-Type" target="_blank">http://en.wikipedia.org/wiki/MIME#Content-Type</a><br />
[B] <a href="http://platform.netbeans.org/tutorials/nbm-filetype.html" target="_blank">Recognizing a File Type Tutorial</a><br />
[C] <a href="http://wiki.netbeans.org/DevFaqActionAddEditorPopup" target="_blank">http://wiki.netbeans.org/DevFaqActionAddEditorPopup</a><br />
[D] <a href="http://wiki.netbeans.org/DevFaqActionAddFileMime" target="_blank">http://wiki.netbeans.org/DevFaqActionAddFileMime</a></p>
<p><em><strong>eNjoy Technology&#8230;</strong></em></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nbguru.wordpress.com/188/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nbguru.wordpress.com/188/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/188/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=188&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2008/07/07/tat-play-with-xml-layer-part-three-5/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/nvarun-128.jpg" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>
	</item>
		<item>
		<title>NetBeans Quiz &#124; No more Quizzing!</title>
		<link>http://nbguru.wordpress.com/2008/07/04/netbeans-quiz-7/</link>
		<comments>http://nbguru.wordpress.com/2008/07/04/netbeans-quiz-7/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 07:37:48 +0000</pubDate>
		<dc:creator>Varun</dc:creator>
		
		<category><![CDATA[NetBeans]]></category>

		<category><![CDATA[Quiz]]></category>

		<guid isPermaLink="false">http://nbguru.wordpress.com/?p=212</guid>
		<description><![CDATA[Hey,
Finally, NetBeans Quizzes comes to an end, the much awaited Grand Finale, promises to be the most spectacular end of a long series of quizzes spanning 11 weeks with 1 quiz per week, 11 winners and 96295 participants!
What amazing statistics! Anyways, time to tell you about the winner of the last quiz;
Week 11 -
Winner: Sourav [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hey,</p>
<p>Finally, NetBeans Quizzes comes to an end, the much awaited Grand Finale, promises to be the most spectacular end of a long series of quizzes spanning 11 weeks with 1 quiz per week, 11 winners and 96295 participants!</p>
<p>What amazing statistics! Anyways, time to tell you about the winner of the last quiz;</p>
<blockquote><p><em><strong>Week 11 -<br />
</strong></em><em><strong>Winner: </strong>Sourav Agarwal</em><em>, <strong>Prize: </strong>Nintendo Wii</em></p></blockquote>
<p>Who will win the Grand Prize? <strong>Prize:</strong> Apple MacBook Air<br />
Wait, as I will unveil the Grand Prize winner over here, next week! <span style="text-decoration:line-through;">Hey, you could still answer quizzes, to be eligible for Grand Prize, yes download the plugin, and answer all the quizzes you might have missed in reverse chronological order!</span></p>
<p>Sorry, but neither you nor can I participate in the quizzes, which we might have in backlog <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Best of Luck!</p>
<blockquote>
<p style="text-align:center;"><strong>NetBeans Quizzes</strong> - brought to you by <span style="text-decoration:underline;">NetBeans Guru</span>!</p>
<p style="text-align:center;"><a href="http://technorati.com/faves?sub=addfavbtn&amp;add=http://nbguru.wordpress.com"><img class="aligncenter" src="http://static.technorati.com/pix/fave/tech-fav-1.png" alt="Add to Technorati Favorites" /></a></p>
</blockquote>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/nbguru.wordpress.com/212/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/nbguru.wordpress.com/212/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nbguru.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nbguru.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nbguru.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nbguru.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nbguru.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nbguru.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nbguru.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nbguru.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nbguru.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nbguru.wordpress.com/212/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nbguru.wordpress.com&blog=3440143&post=212&subd=nbguru&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://nbguru.wordpress.com/2008/07/04/netbeans-quiz-7/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/nvarun-128.jpg" medium="image">
			<media:title type="html">nvarun</media:title>
		</media:content>

		<media:content url="http://static.technorati.com/pix/fave/tech-fav-1.png" medium="image">
			<media:title type="html">Add to Technorati Favorites</media:title>
		</media:content>
	</item>
	</channel>
</rss>