Directions for using Symantec Visual Café Professional Edition Version 3

I. Start up and Configure Symantec Visual Café Professional Edition Version 3

1. Start/Programs/Symantec Visual Café Professional Edition/Symantec Visual Café

2. Tools/Environment Options/General/On Startup/Do Nothing

3. If Apply button is active, click Apply/OK, close and restart Visual Café

 

II. To Build and Run an Application

1. Close any open projects.

2. File/New Project/Empty Project

3. Project/Options/Directories tab/Output Files from drop down menu/change Output Directory to A: or U:

4. If you need to create a new file:

4a. File/New File

4b. Enter your code in the window

4c. File/Save As/ (application file) on A: or U:

5. Click on filename in Project Window, then Project/Compile…

6a. If compile successful, Build Successful appears on bottom of bar

6b. If compile failed, Messages window appears. Double click on an error message and a code editing window will appear with the source code positioned at the error. Fix error, save file, and go back to step 6.

7. Project/Execute

8. DOS window appears with execution … and goes away

9. Add the following code at the end of method main, before }
try {
System.in.read( );
} catch (Exception e) { }
//both S and E capitalized

10. Project/Execute

11. DOS window appears with execution … press return to make go away

12. Close project window, Save on A: or U: as appropriate_name.vep

- If you need to change code not containing errors, RIGHT click on file name in project window and choose Edit Source.

- If you ever change the name of the class containing main(), File/Save As/(new application file name), go into Project/Options. In the Main Class box enter the name of the class containing main() (case is important!) and press carriage return.

- If you ever need to enter command line parameters, prior to execution go into Project/Options. In the Program Arguments box enter the parameters.

- Next time you want to work on this program, do File/Open Project and select correct drive and project name. Change code and go back to step 7.

III. To Build and Test an Applet

1. Close any open projects

2. File/New Project/AWT Applet

3. Project/Options/Directories tab/Output Files from drop down menu/change Output Directory to A: or U:

4. Click on Applet1 Edit/Delete

5. If you need to create a new file:

5a. File/New File

5b. Enter your code in the window

5c. File/Save As/ (applet file)

6. Project/Build Applet

7a. If compile successful, Build Successful appears on bottom of bar

7b. If compile failed, Messages window appears. Double click on an error message and a code editing window will appear with the source code positioned at the error. Fix error, save file, and go back to step 7.

8. Project/Execute

9. Applet is run in applet window … close applet window to make go away

10. Close project window Save on A: or U: as appropriate_name.vep

- If you need to change code not containing errors, RIGHT click on file name in project window and choose Edit Source.

- If you ever change the name of the applet, File/Save As/ (new applet file name), and go back to step 1.

- Next time you want to work on this project do File/Open Project and select the correct drive and project name. Change code and go back to step 6.