<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://netbeans.dzone.com"  xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dz="http://www.developerzone.com/modules/dz/1.0">
<channel>
 <title>NetBeans Zone - Comments for &quot;A New Class Visualization Module for NetBeans&quot;</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module</link>
 <description>Comments for &quot;A New Class Visualization Module for NetBeans&quot;</description>
 <language>en</language>
<item>
 <title>Thanks a lot again Tim, you</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1776</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Thanks a lot again Tim, you save me a great deal of time. I did try to do the build but got the outofmemory error - so  ANT_OPTS=-Xmx512M should do the trick! I&#039;ll try right away&lt;br /&gt; &lt;/p&gt;</description>
 <pubDate>Tue, 11 Mar 2008 06:17:36 -0400</pubDate>
 <dc:creator>JanMoons</dc:creator>
 <guid isPermaLink="false">comment 1776 at http://netbeans.dzone.com</guid>
</item>
<item>
 <title>NetBeans modules in the</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1768</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;NetBeans modules in the NetBeans source tree expect to build into $NB_SRC/nbbuild/netbeans - contrib/ should be set up as a subdir of $NB_SRC.  Since contrib/ is now a separate hg repository, I only gave instructions for how to get contrib (figuring you might just want a look at the source code and contrib/ is a much smaller download).  To do a full build, first get the full NetBeans sources:&lt;/p&gt;&lt;p&gt;hg pull http://hg.netbeans.org/main// &lt;/p&gt;&lt;p&gt;and then move your checkout of contrib/ underneath the root of the checkout.  Then run Ant against the master build script (you will need to set the environment variable ANT_OPTS=-Xmx512M for the build to complete).&lt;/p&gt;&lt;p&gt;Alternately, you could probably fiddle with the project metadata a bit to convince NetBeans that it&#039;s not a netbeans.org source tree module - simplest would be to create a new module project somewhere else on your disk (not under the nb source root), copy the sources and the dependencies section of nbproject/project.xml into the new module&#039;s project.xml and that should do it.&lt;/p&gt;&lt;p&gt; Sorry for the confusion - I was trying to save you a huge checkout :-/ &lt;/p&gt;</description>
 <pubDate>Mon, 10 Mar 2008 20:15:01 -0400</pubDate>
 <dc:creator>tim</dc:creator>
 <guid isPermaLink="false">comment 1768 at http://netbeans.dzone.com</guid>
</item>
<item>
 <title>Anyone?</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1764</link>
 <description>&lt;!--paging_filter--&gt;Anyone?</description>
 <pubDate>Mon, 10 Mar 2008 17:09:40 -0400</pubDate>
 <dc:creator>JanMoons</dc:creator>
 <guid isPermaLink="false">comment 1764 at http://netbeans.dzone.com</guid>
</item>
<item>
 <title> great Tim, thank you! Now</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1692</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;great Tim, thank you!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now on trying to get these sources to work: I did a &amp;quot;hg clone  http://hg.netbeans.org/main &amp;quot; and a &amp;quot;hg clone http://hg.netbeans.org/main//contrib &amp;quot; so I now have a folder main which contains many modules and also the contrib folder. The contrib folder contains many modules among which the graphicclassview. However, when I try to open ANY module (under main or under main/contrib) in netbeans I get&lt;/p&gt;&lt;p&gt; java.io.IOException: netbeans.org-type module not in a complete netbeans.org source root: NbModuleProject[MasterFileObject@6e0061[C:/NetbeansSourceTree/main/contrib/graphicclassview]]&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In the project name field in the &amp;quot;open project&amp;quot; dialog. What do I have to do to get this to work?&lt;/p&gt;&lt;p&gt;I already tried to issue ant in the main folder which started to build a bunch of things but eventually resulted in an OutOfMemoryError... Is building the sources necessary? What do I have to do next?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks again! &lt;/p&gt;</description>
 <pubDate>Fri, 07 Mar 2008 09:28:42 -0500</pubDate>
 <dc:creator>JanMoons</dc:creator>
 <guid isPermaLink="false">comment 1692 at http://netbeans.dzone.com</guid>
</item>
<item>
 <title>To get the sources:hg</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1674</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;To get the sources:&lt;/p&gt;&lt;p&gt;hg pull http://hg.netbeans.org/main//contrib&lt;/p&gt;&lt;p&gt;cd graphicclassview&lt;/p&gt;&lt;p&gt;Or you can browse the sources &lt;a href=&quot;http://hg.netbeans.org/main/contrib/file/5978d0b63acd/graphicclassview/&quot;&gt;here.&lt;/a&gt;&lt;/p&gt;</description>
 <pubDate>Thu, 06 Mar 2008 15:20:00 -0500</pubDate>
 <dc:creator>tim</dc:creator>
 <guid isPermaLink="false">comment 1674 at http://netbeans.dzone.com</guid>
</item>
<item>
 <title>Thanks very much for this</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1661</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Thanks very much for this module Tim. It is extremely interesting for me as I am trying to get to grips with the visual library and need all the examples I can get. Some of the examples on the visual library site lead to dead links. Now my question: is the source available anywhere so I can inspect it? I am not very familiar with mercurial, but if you could lead me in to the right location I would be very grateful.&lt;/p&gt;&lt;p&gt;Thanks again &lt;/p&gt;</description>
 <pubDate>Thu, 06 Mar 2008 09:06:58 -0500</pubDate>
 <dc:creator>JanMoons</dc:creator>
 <guid isPermaLink="false">comment 1661 at http://netbeans.dzone.com</guid>
</item>
<item>
 <title>Thankyou very much Jan&#039; Yes</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1606</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Thankyou very much Jan&#039; &lt;/p&gt;&lt;p&gt;Yes i was looking for that only, i don&#039;t know how but i missed that one from the API-documentation.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Tue, 04 Mar 2008 04:42:59 -0500</pubDate>
 <dc:creator>ag_sachin</dc:creator>
 <guid isPermaLink="false">comment 1606 at http://netbeans.dzone.com</guid>
</item>
<item>
 <title>Sachin:</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1532</link>
 <description>&lt;!--paging_filter--&gt;Sachin: org.netbeans.api.java.source.TreeUtilities.parseExpression might be what you are looking for.</description>
 <pubDate>Fri, 29 Feb 2008 16:06:33 -0500</pubDate>
 <dc:creator>jlahoda</dc:creator>
 <guid isPermaLink="false">comment 1532 at http://netbeans.dzone.com</guid>
</item>
<item>
 <title>Useful? Useful??!? This</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1507</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Useful? Useful??!? This would have been a lifesaver on a project I&#039;m working on, but we use eclipse. You might want to look at relo, an MIT project that goes along those lines. I used it for a while, but as it makes the build very slow I had to turn it off. &lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://relo.csail.mit.edu/&quot; title=&quot;relo&quot; target=&quot;_blank&quot;&gt;http://relo.csail.mit.edu/&lt;/a&gt; &lt;/p&gt;&lt;p&gt;As for automatic layout, check out JUNG at &lt;a href=&quot;http://jung.sourceforge.net/index.html&quot;&gt;http://jung.sourceforge.net/index.html.&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Michael&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Fri, 29 Feb 2008 06:20:51 -0500</pubDate>
 <dc:creator>mich.barsinai</dc:creator>
 <guid isPermaLink="false">comment 1507 at http://netbeans.dzone.com</guid>
</item>
<item>
 <title>Thanks Tim for the response,</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1506</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Thanks Tim for the response, but the fact is, i am able to get the tree from existing javaSource of a method and all the constructs of a conditional expression, but my problem is in doing the reverse of that.. &lt;/p&gt;&lt;p&gt;I have a String in form of  a (3==2 &amp;amp; (4==3)) (with complexity of nth place) as keyed in by user, now i want to convert it  into the BinaryTree using the TreeMaker instance make.Binary(operator,LeftExpression,rigghtExpression), so that i am able to insert the resultant tree into the code block and add it to the source. &lt;/p&gt;&lt;p&gt;I am able to create a new method using maker.Method(params..) using method text as it is, but not the Conditional Expression, as there is no method directly present which takes string as input and returns a Conditional Expression in form of BinaryTree as depicted above. &lt;/p&gt;&lt;p&gt;If you give me an hint, about something like is already been done somewehere else or in netbeans itself, it would be of great help.&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;Sachin. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
 <pubDate>Fri, 29 Feb 2008 06:05:33 -0500</pubDate>
 <dc:creator>ag_sachin</dc:creator>
 <guid isPermaLink="false">comment 1506 at http://netbeans.dzone.com</guid>
</item>
<item>
 <title>I made something similar,</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1503</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;I made something similar, but not nearly as good, sometime ago: &lt;/p&gt;&lt;p&gt;http://blogs.sun.com/geertjan/entry/source_file_visualizers &lt;/p&gt;&lt;p&gt;Why don&#039;t you try to make yours part of the official distribution? &lt;/p&gt;</description>
 <pubDate>Fri, 29 Feb 2008 03:02:58 -0500</pubDate>
 <dc:creator>geertjan</dc:creator>
 <guid isPermaLink="false">comment 1503 at http://netbeans.dzone.com</guid>
</item>
<item>
 <title>Sachin:  You inspired me to</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1490</link>
 <description>&lt;!--paging_filter--&gt;Sachin:  You inspired me to release &lt;a href=&quot;http://weblogs.java.net/blog/timboudreau/archive/2008/02/see_java_code_t.html&quot;&gt;this AST browser tool&lt;/a&gt; which I&#039;ve had sitting around for almost a year.  It will probably help you get a sense of exactly what the internals of javac&#039;s ASTs look like.</description>
 <pubDate>Thu, 28 Feb 2008 18:54:25 -0500</pubDate>
 <dc:creator>tim</dc:creator>
 <guid isPermaLink="false">comment 1490 at http://netbeans.dzone.com</guid>
</item>
<item>
 <title>Rui:  If you want to access</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1474</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Rui:  If you want to access the Alpha update center from a release build such as 6.0 or 6.0.1, you need to add that update center&#039;s URL to Tools | Plugins - go to the settings tab, click Add and use the URL&lt;/p&gt;&lt;p&gt;http://deadlock.netbeans.org/hudson/job/javadoc-nbms/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz&lt;/p&gt;&lt;p&gt;-Tim &lt;/p&gt;&lt;pre&gt;&lt;/pre&gt;</description>
 <pubDate>Thu, 28 Feb 2008 11:33:59 -0500</pubDate>
 <dc:creator>tim</dc:creator>
 <guid isPermaLink="false">comment 1474 at http://netbeans.dzone.com</guid>
</item>
<item>
 <title>Sachin:  Yes, you can do</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1473</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;Sachin:  Yes, you can do that.  Basically you would either (in NetBeans) call JavaSource.forFileObject(someFile), and then run a Task &amp;lt;CompilationController&amp;gt; against it.  You get the TypeDecl&#039;s (top level classes in the file) from the CompilationController, and then to each one (unless JDK 1.0 multi-classes-per-file there is only one) you pass your own TreeVisitor, which overrides visitExpressionTree() and whatever else you need (typical is to set a flag when you&#039;re in an outer element you know you&#039;re interested in, and then override other methods to do more in depth stuff only when you know you are in something you&#039;re interested in).&lt;/p&gt;&lt;p&gt; If you know the location of what you want to parse, you can probably start from whatever is there, backtrack until you find the enclosing block and then just work with that. &lt;/p&gt;</description>
 <pubDate>Thu, 28 Feb 2008 10:55:47 -0500</pubDate>
 <dc:creator>tim</dc:creator>
 <guid isPermaLink="false">comment 1473 at http://netbeans.dzone.com</guid>
</item>
<item>
 <title>hey Tim, if you manage to</title>
 <link>http://netbeans.dzone.com/announcements/new-class-visualization-module#comment-1470</link>
 <description>&lt;!--paging_filter--&gt;&lt;p&gt;hey Tim, &lt;/p&gt;&lt;p&gt;if you manage to come up with a cool layouting algorithm, let me know. I got the same layouting constraints when showing maven project&#039;s transitive dependencies in a graph.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Milos &lt;/p&gt;</description>
 <pubDate>Thu, 28 Feb 2008 07:52:56 -0500</pubDate>
 <dc:creator>mk75195</dc:creator>
 <guid isPermaLink="false">comment 1470 at http://netbeans.dzone.com</guid>
</item>
</channel>
</rss>
