Adding Java Packages, Java Classes, and XHTML Files to the Simulation Assistant Project
Typically, Simulation Assistant projects contain two Java packages, one for the assistant code, and the other for the XHTML text that is displayed in the user interface of the assistant.
Adding Java Packages to the Project
To add Java packages to the Simulation Assistant Project:
- Right-click on
The New Java Package dialog appears.
and select
- In the
Package Name field, enter the package name.
- Click
Finish.
The Java package is added to the project.
Adding Java Classes to the Project
Java classes contain the code that made up the Simulation Assistant.
To add a Java class to the Simulation Assistant project:
- Right-click
The New Java Class dialog appears.
and select
- In the
Class Name field, enter the class name.
- Click
Finish.
The Java class is added to the Java package. Add as many classes as required for your workflow.
Adding XHTML Files to the Project
Typically, all the text that is displayed in the Simulation Assistant user interface is stored in XHTML files, and is contained in a separate Java class.
To add an XHTML file to the simulation assistant project:
- Right-click on
The New File dialog appears.
and select
- Select Categories list. from the
- Select
File Types list.
from the
- Click
Next.
The New XHTML File dialog appears.
- In the
File Name field, enter the file name.
- Click
Finish.
The XHTML file is added to the Java package. Add as many XHTML files as required for your workflow.