Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Creating a Java Client Application: A Tutorial

   

Adding Interface Controller Subclasses and Nib Files

To add an EOInterfaceController subclass with a new interface file to your client-side subproject

  1. Select the Interfaces bucket in your EOJavaClientSubproject subproject

  2. Chose New In Project from the File menu.

  3. In the New File panel, enter the name for the new EOInterfaceController subclass and its interface file.

  4. Click OK.

    The WebObjects Java Client Interface Wizard then appears, asking you to choose templates and other options for the interface.

  5. Select the options that you want for the new interface file.

  6. Follow the subsequent instructions until completion.

After finishing the wizard, ProjectBuilder will add two files to your client-side subproject: a source (.java) file for the EOInterfaceController subclass and the nib file that is owned by the interface controller.

Note:   When you create a Java Client project, the EOInterfaceController subclass and its interface file by default have the same name as your application. If you rename these files, you must make adjustments elsewhere in your project, as described in " Manual Adjustments to Java Client Projects ."


© 1999 Apple Computer, Inc. – (Last Updated 13 Sep 99)