Inside the Android SDK

A colleague told me about this the other day and so I downloaded the Android SDK and saw for myself...

The NetBeans Platform Learning Trail has a section entitled "NetBeans APIs for Visualizing Data", which provides several tutorials covering the NetBeans Visual Library API, which is, simply put, a Java widget library. And some of those tutorials, like the Android SDK screenshot above, indicate that the NetBeans Platform isn't needed at all if you want to use the NetBeans Visual Library API. Only two JARs are all that you need... as you can see above.

As a result, you could use any IDE at all, such as shown here:

Note: The recently released part 9 of the Top 10 NetBeans APIs screencast series focuses specifically on the Visual Library API.


Hi Geertjan,

More specifically, I used these two libraries to build a tool called HierarchyViewer:

I actually first used these libraries for an internal tool that I'm using to track the performance of the drawing and layout operations of our UI toolkit: (that tool was originally built on top of NetBeans Platform but I then rewrote it on top of the Swing Application Framework to reduce the download size of the WebStart version.)

I am however in the process of re-designing the entire tool and I'm not sure I'm going to use these libraries again. The design I'm aiming for does not require user interaction with the graph and I have very specific needs for the rendering.

Posted by Romain Guy on March 27, 2009 at 05:30 PM PDT #

Hello Romain.

Unless the work you're doing for Android should be kept reserved, please consider telling us which kind of "special rendering" you need, and perhaps we could be able to fit it to the current Visual Library.

Posted by Fabrizio Giudici on March 27, 2009 at 06:22 PM PDT #

Would be cool if Fabrizio's approach (i.e., somehow handling your rendering needs) works out, because then a library that originated in one of Android's competitors, i.e., from the tooling support for Java ME, continues being used in Android SDK. That interchange of JARs is kind of neat, undermining the public spin doctors and so on -- i.e., engineers use whatever they need and are not religious about things. But now I need to go back to introducing the NetBeans Platform to students in Warsaw.

Posted by Geertjan on March 27, 2009 at 07:14 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.


« April 2014