Geertjan's Blog

  • September 4, 2006

NetBeans Project Samples and Visual Library 2.0 (Part 1)

Geertjan Wielenga
Product Manager
I've converted all the samples I could find in the Visual Library 2.0 sources into NetBeans project samples. There are really a lot of samples, which is fantastic—33 or 34 at last count. Five of them I converted to NetBeans module projects (to show how TopComponents interact with the Visual Library) and all the rest are standard Java projects. This is what you would see if you had all the samples installed:

I don't know if or how this module containing all the samples will be distributed. In some ways, using the sources as they currently are is more efficient—I've learnt a lot about the Visual Library by doing searches on the whole src folder. This is not possible if you have all the samples as NetBeans projects, because unless you have Tim Boudreau's module for searching across projects, you're not able to do that.

At first I thought I should provide a help file or some basic descriptions of all the samples. But that is, as they say in Dutch, "onbegonnen werk". (This means: "Work not worth starting", or something like that.) I think it makes more sense to just run each of the projects and see what there is to see and then decide whether you want to use the functionality provided in the sample. After all, the Visual Library is visual, so spending a lot of time using words to explain what you'd be able to see in seconds seems like a waste of everyone's time.

Again, I don't know if or how this module that provides the samples will be distributed, but this is just to say that the samples are available as NetBeans projects and that, if it were to be decided to distribute them, it would just be a matter of getting them from me. I hope to expand the module as more samples get added to the Visual Library sources. (I just got an e-mail saying that another one has been added!)

Join the discussion

Comments ( 7 )
  • Manfred Riem Monday, September 4, 2006
    Can you put them on your own Update Center?
  • Geertjan Monday, September 4, 2006
    OK, I will put them there!
  • Doctor Who Tuesday, September 5, 2006
    Had a couple of questions:
    1. Is your version of the visual library samples now available as an nbm? If so, please provide a link from where the nbm can be downloaded.
    2. For any new development work using NB 5.5, should the visual library version 2 be used? The visual library site mentions that it is being targeted for use with NB 6, however, the NB roadmap provides no clear dates for NB 6. The visual library looks pretty usable right now.
    Wanted to add that your blog is an invaluable asset to the NB community. Thank you for your time and effort.
  • Geertjan Tuesday, September 5, 2006
    Hi Doctor Who, thanks for your comments. The library is scheduled for be released sometime this month. The plan is that it will be officially part of the NetBeans APIs from 6.0 onwards. Until then it will be a separate library. I plan to add the NBM to my update center today, watch this space for an announcement. To me, the library seems pretty usable already -- it is also good to start using it now and help find bugs, which is what I've been doing. Thanks for liking the blog.
  • guest Tuesday, December 12, 2006
  • Abhishek Chakraborty Monday, July 2, 2007
    your projects are fantastic,great work!!
  • Anurag Chakraborty Monday, July 2, 2007
    your response to the youth is just great.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.