# 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

Click the New button. In the left pane, select Java, and in the right pane, select Interface.

or

Select the container where you want the new interface to reside. Then, from the menu bar select 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 class or interface

New Java Interface wizard
Java Toolbar actions
Package Explorer