Top
Interstage Studio User's Guide
FUJITSU Software

6.2.3 Creating the Java Class and the Interface

The code for Java classes and interfaces is in source files which have an extension of '.java'. This is called a Java source file. This section describes how to create and edit Java class and interface source files.

Creating New Java Class Source Files

To create a new Java class source file, select [Java] > [Class] from the [New] wizard. This launches the New Java Class wizard. Specify the package name, class name, superclass, interface to be implemented, and so on, and create the Java class.

Creating New Java Interface Source Files

To create a new Java interface source file, select [Java] > [Interface] from the [New] wizard. This launches the New Java Interface wizard. Specify the package name, class name, extension interface, and so on, and create the Java interface.

Editing Java Source Files

Use the Java editor to edit the Java source file. When the Java source file is opened using the Project Explorer or Navigator view, it is actually opened in the Java Editor. The Java editor provides the following editing support: