In this tutorial, you learn how to use the UML features of the IDE to create a simple UML class diagram. You then use the code generation and reverse engineering features to develop a simple banking application, which you can test by executing a test class. This banking application is greatly simplified; a real model for an application of this type would require more detail. The purpose of this tutorial is to introduce some of the IDE's UML features, not to teach you about UML concepts or the Java programming language.
Click one of the layout buttons on the Diagram editor toolbar to re-layout the diagram. If you are working with a big diagram, add the
-J-Dapple.awt.graphics.UseQuartz=false command-line switch to the netbeans_default_options statement in the nb5.5-installation-directory/Contents/Resources/NetBeans/etc/netbeans.conf file. Restart the IDE.