Creating a new Java enum
Use the New Java Enum wizard to create a new Java enum. There are a number of ways to open this wizard:
-
Select the container where you want the new enum to reside.
-
Click the New Java Enum button in the workbench toolbar.
or
-
Select the container where you want the new enum to reside.
-
From the container's pop-up menu, select New > Enum.
or
-
Select the container where you want the new enum to reside.
-
From the drop-down menu on the New button in the workbench toolbar, select Enum.
or
-
Click the New button in the workbench toolbar to open the New wizard.
-
Select Java > Enum and click Next.
or
-
Select the container where you want the new enum to reside.
-
Then, select from the menu bar File > New > Enum.
Java projects
Renaming a type
New Java Enum wizard
Java Toolbar actions
Package Explorer