I wrote a small Swing app to browse javac's abstract syntax trees (ASTs) of source code. If you've ever wanted to write a tool that analyzes Java source code, it is a big help for understanding the Javac tree API.
Last spring I set about learning javac's Tree API (JSR 199) - NetBeans uses it internally as its parser for Java source code. It has a bit of a learning curve, and contains lots of...
on Feb 28, 2008
XHTML Renderer library provides us with way better looking HTML pages which can easily replace some of the Swing displays or make nice "preview" panels.
Furthermore, being included in the Platform, it's just a few clicks away to actually use it.
The only problem so far is that it only provides public packages for the friend module Visual CSS.
But, that can't stop a determined mind. We can...
on Feb 6, 2008
This is an addition to the JSF Visual Web JavaServer Faces in NetBeans Tutorial. For this information to be useful to you you will have to have a JSF Visual Web JavaServer Faces project created. To create the project please refer to the earlier blog. This is the project I will be working with in this tutorial.
This is what you would do to start with most of the components in JSF....
on Feb 5, 2008
6.1 I got Eclipse and NetBeans ready for my collaborators in a
transparent way. Actually I started the Footprint Project few months
ago with NetBeans, and later I also started using Eclipse to maintain
its contents because I use different environments in my daylight job and in
my Open Source activities.
After few trials, I was forced to abandon NetBeans due to
the absence of...
on Feb 3, 2008
I recently started working with JSF for more than simply messing around with the components. In performing this work I have found that some of the information needed to develop JSF seems to be missing or hard to find. Because of this I have decided to write up what I have found to pass along the joy of JSF.
Because the tutorials for working with Visual Web JavaServer Faces in NetBeans will...
on Feb 2, 2008
TV, Coke and a laptop, it is time to have fun!
We are always trying to integrate Marge (Java Bluetooth Framework) with other things. If you remember, in a last post, JavaFX Script was used, now it's time for JRuby! May you don't know, JRuby is Java implementation of the Ruby programming language. I am not a Ruby expert, but I hope I can become, because I am enjoying the language so much....
on Jan 31, 2008
NetBeans 6.1 M1 was just released, and with it comes rudimentary support for the Groovy language and the Grails framework. I say rudimentary because this is M1, but there's a lot of work in progress as you can see from this task list.
So, of course I'm anxious to compare Grails to Rails. What better way to do than by creating the same blog application I've been blogging about with Rails?
on Jan 30, 2008
The train start running, NetBeans Innovators Grants has just announced.
Are you an RCP developer looking for some financial support to implenent some modules on top of NetBeans RCP?
Are you familiar with NetBeans IDE and also you have some ideas in your sleeve, ideas to enhance the IDE functionalitis, ideas about new functionalities, etc?
Do you know some bugs/ RFEs in issuzilla which you can...
on Jan 29, 2008
All well developed applications are supported by tests. In this entry I extend the web log I've been building to include some unit, functional and integration tests.
Setting Things Up
I'm going to begin from where I left off in my previous post: An Introduction to using AJAX with Rails: Take 2. Alternatively, you can start from RubyWeblogAJAX.zip, which is the completed project from that post....
on Jan 4, 2008
Someone who attended my talk in Florianopolis, Brazil put this video on YouTube. The sound isn't great, but you do get to see some of the cool NetBeans 6 editor features.
To the person who posted it - if you can send me a .wav file of the audio, I'd be happy to clean out the ambient noise and make the soundtrack much easier to understand - I was a sound engineer in a former life...
on Dec 21, 2007
Dear Java Industry,
I leave you guys alone for one little year, and just look what happens!
While I was off gallivanting, NetBeans added a GPL license, switched to mercurial, and released a new version. The JDK also went mercurial on me. Google released their Android platform. Spring, Tapestry, Wicket, and GWT are all in new major releases.
Things sure to move quickly around here. I've got...
on Dec 20, 2007
I have installed NetBean 6.0 RC2 earlier and wanted to update with NetBeans 6.0 lately.
My installation experience was not good and I had to open a thread on NetBeans User mailing list to know what is happening and get it finally working.
You can find the thread here
I use mutiple versions of JDK as part of testing and I might have mistakenly removed some things that Netbeans instalaltion...
on Dec 17, 2007
My first 24 hours with NetBeans6.0 (final). I'm going to color a little outside the lines here, and soapbox a bit about "tools I use" (in NetBeans). Specifically: Spring 2.5, "vim", and Maven2.
First impressions with Netbeans 6
I had already been using & upgrading from NetBeans5.5, the 6.0 beta's, & the release candidates;
and the first thing I noticed with NB6 is the startup speed...
on Dec 5, 2007
In my first take on introducing AJAX with Rails, when a new comment is posted to an entry, the entire set of existing comments is replaced with a new set containing the new comment. Although the request is asynchronous, it's still inefficient, especially if the list of comments grows large. Ideally I would just insert the new comment to the bottom of the existing list, and that's what I show...
on Dec 4, 2007
After 11 cities in three weeks, we finished up the NetBeans/OpenSolaris South American University Tour last week in Natal, Brazil.
On Saturday, after our five hours of NetBeans talks, I was scheduled to do a talk at Natal Java Day, at 9:40AM. I awoke to blazing sunlight coming through the window of my hotel room. My mental clock that judges such things told me it looked like 9 or 10AM. Oh,...
on Nov 24, 2007
After some refactoring, I've polished my ant tools for improving a bit the way NetBeans RCP projects are built.
In a previous blog post I've told you that I think a good way to distribute the sources of your NetBeans RCP project is to bundle the platform it requires to be built against (of course, if it's not the default NetBeans Platform).
I proposed the following directory layout in the...
on Nov 18, 2007
It's been a wild week of travel, to Buenos Aires and Cordoba, Argentina and now Santiago, Chile. We've had some adventures along the way.
In Buenos Aires, 90% of the airline pilots were grounded for not having had sufficient vacation to comply with safety regulations. So our flight to Cordoba was cancelled.
The next option was to take an overnight bus. So we went to do a little tourism...
on Nov 12, 2007
It has been a whirlwind trip so far in South America. Last week we did one city a day for four days - lots of arriving in airports at 3AM, sleeping for four hours and then presenting for five, then talking with JUG members and professors into the night, then getting on another plane. But it's been a blast. We've been shooting a lot of videos, so we should have some interesting stuff for...
on Nov 7, 2007
Bonjour, comment 13949712720901ForOSX?
Today, i would like to highlight some good progress on 2
projects I am involved in. The first one is about jMaki, with the
announcement by Greg Murray of the jMaki Charting components.
So simple to use - a given for jMaki components-, controllable via
of course PHP, and toolable...
on Nov 4, 2007
A few months ago I blogged about how to optimize a large NetBeans RCP project by splitting it in parts and taking advantage of a technique known as "suite chaining". Now I'm going forward as I have some more complex requirements to meet and suite chaining doesn't fit with them.
If you are not comfortable with the layout of NetBeans RCP projects and the related jargon I suggest you to read first...
on Nov 3, 2007