I had to generate UML for the RPG project , i kew, Netbeans had support for UML designing and generating before 7.0 , but with 7.0 this feature was gone.
How to set-up yDoc?
Download the community or the premium version of yDoc
Extract the zip file to your hard disk
Put the doc,resources and lib files somewhere on your hard drive, i’ve put it under /opt/umldoclet/
Open up Netbeans, select the project you want to generate UML for, then open up project properties
Go into Build Options->Documenting
Under additional Javadoc Options fill in the following: -docletpath /opt/umldoclet/lib/ydoc.jar -resourcepath /opt/umldoclet/resources -doclet ydoc.doclets.YStandard -umlautogen (replace the path to yDoc corresponding to your installation)
Clean and Build
Right click on your project and Generate JavaDoc
If everything went correctly your UMLs are just generated into your javadoc documentation