The relevant package is open for editing in the Diagram view.
1. In the toolbar, select the type of bean to be created.
2. On the page displaying the package, select the area where you want the bean to be depicted.
3. Depending on the type of bean, various fields and methods will be generated automatically. For example:
4. Click on the name MyDefaultBean in the diagram and change it to the required name.
The bean has bean created. By double-clicking on a method, for example, the Java editor will be opened at the appropriate point for editing.