Geertjan's Blog

  • September 6, 2006

Download the Simpsons Visual Library Sample!

Geertjan Wielenga
Product Manager
If you're interested in the sources of the Simpson drag-and-drop application, which uses the Visual Library 2.0 and the Component Palette API, with this result:

...then feel free to download the sources here:


When you install the module, you'll have a new sample called "Visual Library Integration Module Sample" in the Samples category (the highest level) in the New Project wizard.

When you look at the sources, you'll also be able to see how the context-aware help assistant works (i.e., that's the upper panel which has a message that changes, depending on what actions you perform). And, there is only one file in the whole module that makes use of the Visual Library:


There are still a couple of open issues, such as the layers not working properly (sometimes new items are hidden behind old items, such as the map). But most of the functionality is there. Again, you'll need to get the Graph library sources and make sure you have the two JARs mentioned in yesterday's blog available to your NetBeans Platform.

Join the discussion

Comments ( 7 )
  • Rami Sunday, June 17, 2007
    I am trying to build your module but have this error:
    C:\\VisualLibraryIntegrationModuleSample\\build.xml:7: The following error occurred while executing this line:
    C:\\VisualLibraryIntegrationModuleSample\\nbproject\\build-impl.xml:19: You must define 'nbplatform.NetBeans_IDE_Dev_(Build_060904).harness.dir'
  • guest Sunday, June 17, 2007
    In project.properties or platform.properties you should see a property named (something like) 'nbplatform'. If not, you should add it. Set the value to 'default'. But anyway, this is a pretty old sample for the Visual Library. There's a better one in the Plugin Portal here.
  • William Sunday, December 16, 2007


    I posted a comment yesterday, but forgot to put in the trackback url, so I repost it again; sorry about that.

    I downloaded the simpson module ( thanks for the interesting example ), everything works except the zooming. That is, if I scroll the middle mouse wheel button, the zooming didn't happen as expected. But if I press down the CRTL key while scrolling the middle mouse wheel button, then the zooming works.

    I am using Netbeans RC2 ( released version ). I tested the visual library test example alone, the zooming works without needing to press the CRTL key. So wonder if this only happens by setting the scene view to the JScrollPane viewport...

    Anyone notice similar issue too? comments?



  • Daniel Interliche Wednesday, February 4, 2009

    I already instaled the pluguin. Id like to know how can i acess de properties of the widgets???

  • Rodrigo Friday, November 19, 2010

    Hi. The download link for the Simpsons Visual Library Sample is no longer working. Can you fix it?


  • HG Tuesday, June 17, 2014

    Rodrigo, you can still download the sample at


  • Geertjan Tuesday, June 17, 2014

    Are you sure you want to download in 2014 a sample made in 2006?

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.