# Creating a new Java interface

Use the New Java Interface wizard to create a new Java interface. 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 Interface.

or

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

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 Interface.

or

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

or

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

Java projects

Creating a top-level interface
Creating a nested interface
Creating a new interface in an existing compilation unit
Renaming a type

New Java Interface wizard
Java Toolbar actions
Package Explorer