Creating a new 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. Click the Create a Java Interface button in the workbench toolbar.

  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 Open The New Wizard button in the workbench toolbar, select Interface.

  or

  Click the Open The New Wizard 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

Related concepts

Java projects

Related tasks

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

Related reference
New Java Interface wizard
Java Toolbar actions
Package Explorer
 

Copyright IBM Corporation 2000, 2002. All Rights Reserved.