Generating UML from Netbeans
Call it Reverse Engineering. Netbeans UML modeling tools enables you to generate UML Diagrams – class diagrams, sequence diagrams, activity diagrams et. al automatically from your source code. Yes,you heard it right! NO NEED to manually draw the UML diagrams any more for your Java source code.
Get started here
Here is a screen shot from the tutorial: