X

Geertjan's Blog

  • March 29, 2009

New & Simple Introduction to the Visual Library API

Geertjan Wielenga
Product Manager
During the weekend I made a simple Visual Library tutorial, covering some common needs for developers using this API:

Right after I completed it, the tutorial was used in a workshop at the NetBeans Platform Certified Training in Warsaw. So, a group of between 20 and 30 students used it and managed to finish the tutorial, In other words, the code works. Go here if you want to use it too:

http://platform.netbeans.org/tutorials/nbm-quick-start-visual.html

Some interesting details about this tutorial—it doesn't use the Matisse GUI Builder, so you could use the code in any IDE and it doesn't use the NetBeans Platform, so that it is applicable to any desktop Java application. It is quite simple and short, after which you can follow other more complex tutorials on the NetBeans Platform Learning Trail.

Many thanks to Marek Kliƛ, in whose great blog I found the code used above! Dziekuje bardzo, Marek.

Join the discussion

Comments ( 7 )
  • Varun Nischal Monday, March 30, 2009

    Awesome ;)


  • Lukasz Monday, March 30, 2009

    That the fastest made tutorial I ever saw, you're really good at that! Thanks for great training in Warsaw!


  • Marek Kliś Monday, March 30, 2009

    I'm happy that my blog is helpful :)


  • Tiho Lupak Monday, March 30, 2009

    Very nice tutorial.

    Any idea what license do the required JARs have?:

    org-openide-util.jar

    org-netbeans-api-visual.jar

    Is their license compatible with the Apache Lincese (because GPL and LGPL is not :( )?

    This would be very important for many projects.

    Thank you.


  • David Kaspar Monday, March 30, 2009

    Hi, I am not a lawyer but both JAR files are part of NetBeans project and are released under dual license CDDL/GPL. You can read CDDL license text here:

    http://www.netbeans.org/cddl.html

    Here is a small info:

    http://en.wikipedia.org/wiki/CDDL

    http://www.gnu.org/philosophy/license-list.html

    Regards,

    David


  • Tiho Lupak Tuesday, March 31, 2009

    > You can read CDDL license

    Thank you for the hints (license are so confusing :) ).

    Please bear with me, I forgot to ask the most important question for me:

    Is it possible to \*easily\* make a diagram like the following:

    http://www.jgraph.com/images/JDOgenie.png

    I mean so clean and simple (curved lines, with those connector types, legend, clean white)?

    Thank you very much.


  • Tiho Lupak Tuesday, March 31, 2009

    > You can read CDDL license

    Thank you for the hints (license are so confusing :) ).

    Please bear with me, I forgot to ask the most important question for me:

    Is it possible to \*easily\* make a diagram like the following:

    http://www.jgraph.com/images/JDOgenie.png

    I mean so clean and simple (curved lines, with those connector types, legend, clean white)?

    Thank you very much.


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

Integrated Cloud Applications & Platform Services