Class 1, Part 2 |
Intro to Java 30-IT-396 |
|
Lab
Note: This is the old lab. Please see the
new/revised lab here. Updated 9/12/2004
-
Start a new project in Forte.
-
First, create a directory for the project.
-
Then, open up Forte'.
-
Choose Project-Project Manager-New
-
Give your project a name.
-
In the Explorer window, right click File Systems, and choose
Mount.
Select the directory created in step 1 above.
-
Select this directory, and choose New (either by the New icon, or
File-New).
-
A wizard will appear. Choose Empty. Make the name
StringManip.
The code will not compile unless this name matches the name of the
class!
-
Choose File-Save All, then press [F9] to compile.
-
Right click on the file you just created, and choose Execute.
-
Now, add some arguments.
-
Right click on that file again, and choose Properties.
-
Click the Execute tab, and type some arguments in the Arguments field.
-
Enter them in the syntax provided: string int int char
-
Be aware that spaces delimit arguments. In other words, don't put
spaces in the String.
-
Now, screw it up.
-
Enter completely invalid arguments to see what output you get.
Or,
enter valid arguments to see what happens.
-
Let me know if you need assistance.
The API Javadoc


Created by: Brandan
Jones January 4, 2002