# Creating a new Java annotation

Use the New Java Annotation wizard to create a new Java annotation. There are a number of ways to open this wizard:

1. Select the container where you want the new class to reside.
2. From the drop-down menu on the New Java Class button in the workbench toolbar, select Annotation.

or

1. Select the container where you want the new class to reside.
2. From the container's pop-up menu, select New > Annotation.

or

1. Select the container where you want the new class to reside.
2. From the drop-down menu on the New button in the workbench toolbar, select Annotation.

or

1. Click the New button in the workbench toolbar to open the New wizard.
2. Select Java > Annotation and click Next.

or

1. Select the container where you want the new annotation to reside.
2. Then, select from the menu bar File > New > Annotation.

Java projects

Renaming a type

New Java Annotation wizard
Java Toolbar actions
Package Explorer