<?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:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Next Door Hacker &#187; java</title>
	<atom:link href="http://www.nextdoorhacker.com/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nextdoorhacker.com</link>
	<description>I&#039;m just your friendly neighborhood hacker</description>
	<lastBuildDate>Mon, 05 Apr 2010 09:44:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Working with Netbeans and Eclipse together</title>
		<link>http://www.nextdoorhacker.com/2009/05/working-with-netbeans-and-eclipse-together/</link>
		<comments>http://www.nextdoorhacker.com/2009/05/working-with-netbeans-and-eclipse-together/#comments</comments>
		<pubDate>Sat, 16 May 2009 20:27:39 +0000</pubDate>
		<dc:creator>Prasanna</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.nextdoorhacker.com/?p=117</guid>
		<description><![CDATA[I am a huge fan of Eclipse. However, I should be honest in that Netbeans was my first Java IDE and that&#8217;s where I learned most of Java from (before college of course). So, it still holds some special place in my heart. What I like about Netbeans is that it makes GUI design in [...]]]></description>
			<content:encoded><![CDATA[<p>I am a huge fan of Eclipse. However, I should be honest in that Netbeans was my first Java IDE and that&#8217;s where I learned most of Java from (before college of course). So, it still holds some special place in my heart. What I like about Netbeans is that it makes GUI design in Swing very easy if you know how to do it properly. However, after Netbeans 4.5, I felt it lost some of the focus I wanted for Java and it seemed to make things harder to do that I&#8217;d like.  Of course, I was into eclipse already and didn&#8217;t see much point in switching to another IDE for the hell of it. Who will memorize all the shortcuts for me?</p>
<p>Now, of course I had this crazy idea to work on IRC again which soon enough turned to cloning a popular chat client. Now, I needed to make some user interfaces. After trying to do it old fashioned way in Eclipse for about an hour, I decided to download Netbeans 6.5.1 and give it a go. What I discovered was that I can import my eclipse projects</p>
<p>from File&gt;Import Project &gt; Eclipse Project</p>
<p>You give the eclipse project location in the workspace and your Netbeans project location</p>
<p>After you work with it for a bit, for example work on making a GUI, you can just right click the project and say resynchronize with Eclipse</p>
<p>You can safely go back to eclipse and work more (after doing refresh in Eclipse of course)</p>
<p>This works both ways.</p>
<p>Enjoy hacking in Java. <img src='http://www.nextdoorhacker.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.nextdoorhacker.com/2009/05/working-with-netbeans-and-eclipse-together/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Hello World</title>
		<link>http://www.nextdoorhacker.com/2008/10/hello-world/</link>
		<comments>http://www.nextdoorhacker.com/2008/10/hello-world/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 06:15:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[asm]]></category>
		<category><![CDATA[helloworld]]></category>
		<category><![CDATA[intro]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.nextdoorhacker.com/?p=6</guid>
		<description><![CDATA[As a typical programmer perhaps, I have a habit of embarking in any new mission with a nice and sweet &#8220;hello world.&#8221; I intend to keep this site as a collection of my thoughts, ideas and as a notepad of my various curiosities and I keep collecting and refining them over time. As per the [...]]]></description>
			<content:encoded><![CDATA[<p>As a typical programmer perhaps, I have a habit of embarking in any new mission with a nice and sweet &#8220;hello world.&#8221; I intend to keep this site as a collection of my thoughts, ideas and as a notepad of my various curiosities and I keep collecting and refining them over time. As per the name, I believe it was a lucky coincidence that I decided to keep this site as a blog, you know, the name is just too good to give up on. My vanity didn&#8217;t permit me to just keep this domain parked once I got it <img src='http://www.nextdoorhacker.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Apart from this. here&#8217;s the typical hello world. Since I&#8217;m doing Java at the moment, in Java it is:</p>
<blockquote><p>public class HelloWorld{</p>
<p>public static void main(String[] argv){</p>
<p>System.out.println(&#8221;Hello World&#8221;);</p>
<p>}</p></blockquote>
<p>}</p>
<p>Looks ugly.. Here&#8217;s a python version</p>
<blockquote><p>print &#8220;Hello World&#8221;</p></blockquote>
<p>To top it off, here&#8217;s what I&#8217;d do in assembly. Of course it&#8217;ll only run on a *nix box (syscalls) but whatever..</p>
<blockquote><p>.text<br />
.global _start</p>
<p>_start:<br />
movl $len, %edx<br />
movl $msg, %ecx<br />
movl $1,%ebx<br />
movl $4,%eax<br />
int $0&#215;80</p>
<p>movl $0,%ebx<br />
movl $1,%eax<br />
int $0&#215;80</p>
<p>.data</p>
<p>msg:<br />
.ascii &#8220;Hello World\n&#8221;<br />
len = . &#8211; msg</p></blockquote>
<p>This is probably enough of hello world for now. I can add some more but it&#8217;s just going to be redundant&#8230; <img src='http://www.nextdoorhacker.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.nextdoorhacker.com/2008/10/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
