0% found this document useful (0 votes)
130 views3 pages

Adding Class Diagrams To Your Java Code Using YWorks UML Doclet and Netbeans 8.0.2

To add class diagrams to Java code using yWorks UML Doclet and Netbeans, download the yWorks UML Doclet, modify the project properties to specify the doclet path and resource path, and generate Javadoc to output class diagrams.

Uploaded by

Arie Handoko
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
130 views3 pages

Adding Class Diagrams To Your Java Code Using YWorks UML Doclet and Netbeans 8.0.2

To add class diagrams to Java code using yWorks UML Doclet and Netbeans, download the yWorks UML Doclet, modify the project properties to specify the doclet path and resource path, and generate Javadoc to output class diagrams.

Uploaded by

Arie Handoko
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Adding Class diagrams to your Java code using yWorks UML Doclet and Netbeans

1. Download the yWorks UML Doclet from


http://www.yworks.com/en/downloads.html#yDoc.
2. Right click on your Projects folder to explore Projects within Net Beans. Choose
"Properties".

3.Paste the following text (with modifications for the path you saved yWorks UML
Doclet in) into Properties->Documenting.

Example text: -docletpath "C:\Users\Peter\javadev\yworks-uml-doclet-3.0_02jdk1.5\lib\ydoc.jar" -doclet ydoc.doclets.YStandard -resourcepath


"C:\Users\Peter\javadev\yworks-uml-doclet-3.0_02-jdk1.5\resources" -umlautogen
Note: Please be careful on the file path and also the open inverted commas (" ")
4. Click OK
5. Right click on the project folder and click on generate Javadoc

6. End results looks like this

7. Please take note that the java classes should be saved in their own package,
and NOT in the default package.
For example:

You might also like