Search



Advanced

Properties of a Class

Step 2: General Tab

< Previous (Class Properties)

(Attributes Tab) Next >

Home / Class Diagrams / Properties of a Class / Step 2: General Tab

This tab displays information on class name, superclass, interfaces, package, class properties, and source file path.

You can set the source file path for the class by clicking the Set… button at the bottom right of the dialog box.

The Toggle button will switch the source file of the selected class from its source file (.java) to its class file (.class), or vice versa.  In order to do this successfully, both the .java and .class files for the class must have same name (usually class name) and must be in the same directory. Otherwise, the class will become “invalid”, which changes the class to a “?” symbol and no sources will be available.